Download

Risk levels and confirmation

How BIMproxy limits changes: risk levels on every tool, thresholds that require your approval, confirmations in the client or in Revit, and the circuit breaker.

On this page

Risk levels

Every tool declares a risk, and the server passes the matching hints (read-only, destructive) to your AI client so that the client can ask your permission in its own interface.

Risk Meaning Examples
Read Never changes the model. list_levels, get_element
View and files Changes the display, or writes files but never the model. set_selection, exports, captures
Write Changes the model. set_parameters, create_wall
Destructive Deletes or removes. delete_elements, delete_level, purge_unused
Script Runs C# code written by the AI. Only in expert mode, off by default and turned on by you in the settings; each script can be shown for your approval. execute_csharp

Thresholds

Defaults, which you can change in the settings:

  • deleting more than 50 elements needs your confirmation;
  • modifying more than 500 elements makes the call destructive and needs confirmation;
  • deleting a view, a sheet, a level or a family always needs confirmation;
  • always confirmed: deleting a level, purging, saving, closing, synchronizing.

How a confirmation works

When a call needs approval, Revit’s side answers confirmation_required with what would happen: what, how many, reversible or not.

  1. If your client supports the MCP elicitation capability, the server shows the request in the client with an approve box, and replays the call with confirm: true and the same idempotencyKey once you approve. If you decline, the call fails with confirmation_declined.
  2. Otherwise the server returns the error to the AI, which must ask you in the conversation and call again with confirm: true.

An optional mode, Approve in Revit, is off by default. It shows approval cards in Revit for write, destructive and script calls, with a 2-minute delay, without blocking Revit.

A write, step by step

On the main thread of Revit, for every write: the arguments are checked, pseudonyms are replaced by real values, the modelVersion token is verified (an out-of-date token gives stale_model_version), a plan counts what will be created, modified and deleted, the policy decides to run, ask or refuse, the change is applied in a transaction group named BIMproxy: <tool> #<call>, and the whole group is validated as a single Undo entry. Any error rolls everything back.

Repeated calls

An idempotencyKey is kept for 24 hours: the same key with the same arguments returns the stored result (replayed: true), and the same key with other arguments gives idempotency_conflict.

Warnings from Revit

Harmless warnings (duplicate instances, wall joins, overlapping room separation lines, an unenclosed room, a line slightly off axis) are removed and reported as revit_warning. Any other warning, and any error, rolls the change back with revit_failure. A dialog box is never closed blindly: the change is cancelled with revit_dialog_open, and the dialog is left to you.

Circuit breaker

The server stops an AI that loops: after 5 identical calls in 60 seconds, 10 consecutive failures on one tool, or 120 calls per minute. It resumes after 120 seconds or when you click Re-arm. A main switch, AI access, refuses all requests while it is off.

Last updated December 3, 2026