sync_with_central
Synchronize an active workshared Revit document with the central model, with options to add a comment, compact the model, and relinquish borrowed elements.
Instructions
Synchronize the active workshared document with central.
Only works with workshared (central model) documents. For non-workshared documents, use save_document instead.
Args: comment: Sync comment visible in the worksharing log. compact: If True, compact the central model during sync. relinquish_all: If True (default), relinquish all borrowed elements and worksets after sync.
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": "sync_with_central"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | ||
| compact | No | ||
| relinquish_all | No |