Close Document
revit_close_documentClose a background Revit document while confirming whether to save or discard pending changes.
Instructions
Close a background document. Confirmation is required when saving or discarding changes, except MCP-opened detached noncentral documents closed without saving.
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": {
"document": "<document>"
},
"name": "revit_close_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| document | Yes | ||
| process_id | No | ||
| confirm_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||