save_document
Save the active Revit document to disk so your work persists. Use it to write changes before closing or restarting Revit, or to save a template-based model to a .rvt path for the first time.
Instructions
Save the active Revit document to disk so work persists.
If file_path is given (or the document was started from a template and has never been saved), performs Save As to that path. Otherwise saves the document in place. Use this to persist a model before closing or restarting Revit.
Args: file_path: Full .rvt path to save to, e.g. "C:\Models\ESB.rvt" (required the first time a template-based model is saved) overwrite: Overwrite an existing file at that path (defaults to True) ctx: MCP context for logging
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "save_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No | ||
| overwrite | No |