Run My Tool
revit_run_toolExecutes saved C# scripts in a Revit session with dry-run rollback and optional transaction grouping, using confirmation tokens to gate committed model edits.
Instructions
Run saved C#. First run per Revit session needs confirm_token, even read/dry_run. Action commits need a token. Read/dry_run roll back. transaction=group permits script-owned transactions and edit scopes in one Undo group. Uses execute_code gates; store runs require machine ExecuteCode=confirm, including read mode and dry runs. Timeouts may follow commit. Uses a two-step AI app token handshake.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes | ||
| name | Yes | ||
| dry_run | No | ||
| document | No | ||
| transaction | No | auto | |
| confirm_token | No | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||