Set Active Document
set_active_documentSwitch the active document by name to control which document receives subsequent FreeCAD operations. Use the name returned by new_document or open_document.
Instructions
Switch the active document by name (the value returned from new_document/open_document).
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": {
"name": "<name>"
},
"name": "set_active_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| workspace | No | Run this call in this named workspace |