click_revit_dialog_button
Clicks an observed button in a managed Revit modal dialog using a fresh snapshot, enabling safe warning resolution without guessing labels or auto-authorizing destructive actions.
Instructions
Click one observed button in the managed Revit modal dialog. Requires a fresh snapshot from get_revit_dialogs. Handle ordinary warnings within the existing user task authorization; do not guess labels or automatically authorize deletion, discarded edits, overwrites, authentication or security permissions. After a waiting_for_dialog result, retrieve the original operation result instead of repeating the original model command.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dialog_handle": "<dialog_handle>",
"button_id": "<button_id>",
"snapshot_hash": "<snapshot_hash>",
"reason": "<reason>"
},
"name": "click_revit_dialog_button"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why this observed button is appropriate for the user-authorized task. | |
| button_id | Yes | ||
| dialog_handle | Yes | ||
| snapshot_hash | Yes |