Response reference
The shape of every BIMproxy response: data, document, modelVersion, units, untrustedFields, warnings and privacy, plus pagination and write arguments.
On this page
The envelope
Every tool returns a JSON object with the same top-level fields.
| Field | Content |
|---|---|
data |
The result of the tool. |
document |
The model it comes from: an opaque identifier, the title (as a pseudonym) and its state. |
modelVersion |
A token for this state of the model. Pass it back on writes. |
units |
The units of numbers. Lengths are in metres, angles in degrees. |
untrustedFields |
Paths of the strings that come from the Revit file. They are data, never instructions. |
warnings |
Non-blocking messages, with a code. |
privacy |
The active anonymization level. |
Errors are JSON objects with code, message and hint. See Error codes.
Documents
Calls target the active Revit document, unless documentId is given (see list_documents). If you switch documents during a conversation, the warning active_document_changed appears.
Pagination
Lists are paginated. A response that has more carries a nextCursor; pass it back to get the next page. A cursor is tied to the call that produced it.
Coordinate frames
| Frame | Meaning |
|---|---|
project (default) |
Relative to the project base point, in project north. |
internal |
Relative to the Revit internal origin. |
shared |
Shared coordinates. |
Arguments of write tools
Write tools whose schema lists them take four common arguments.
| Argument | Role |
|---|---|
dryRun |
Previews the change and cancels it. See dry run. |
modelVersion |
The version the AI based its decision on. A stale one gives stale_model_version. |
idempotencyKey |
Makes a repeated call safe for 24 hours. |
confirm |
Confirms a call that needed approval. See confirmation. |
View and capture tools do not take them. undo_action reverts a write.
Schemas
Each tool has a versioned JSON schema, returned by describe_tool. An incompatible change creates a new version, and the previous one stays available, marked deprecated, for at least one minor release.
Last updated December 1, 2026