Expert tools
Expert tools: C# scripts and answers to Revit dialogs, off by default. Only you turn expert mode on, and each script can wait for your approval in Revit.
On this page
This group holds the two tools of expert mode: execute_csharp runs a C# script written by the AI with the full Revit API, for what no other tool does, and set_dialog_answers answers the Revit dialogs that the next call may raise. Expert mode is off by default.
Only you turn it on
Expert mode is set in the Expert mode section of the BIMproxy settings, and nowhere else: no tool, argument or message from the AI can change it. While it is off, both tools are refused.
- Scripts: off (default), ask (each script is shown with its purpose and its code, and waits for you to run it), or trust until Revit closes (at the next start, Revit goes back to ask). Two options, off by default, also let scripts write files and use the network, or start programs.
- Revit dialogs: never (default), with your own rules, or as the AI decides.
set_dialog_answersworks only with the last choice, and its answers apply to the next call only.
A script is compiled and checked on your PC before anything runs. In read mode every change is rolled back; in write mode the script is one undo entry. What it returns is anonymized like every response, but the script itself reads real data: turn scripts on only if you accept that. Each script, each automatic answer to a dialog and each change of these settings is written to the audit log.
The tools of this group are optional: the AI finds them with describe_capabilities, reads their schema with describe_tool, and calls them through run_write_tool. See tools and toolsets.
Example request
Write a script that removes the prefix "Copy of" from the names of all views.
The tools
| Tool | Title | Risk | How the AI calls it |
|---|---|---|---|
set_dialog_answers | Answer Revit dialogs | view & files | Through the gateway |
execute_csharp | Run a C# script | script | Through the gateway |
Last updated December 3, 2026