Close Document
close_documentCloses a named or active document to free its objects and invalidate handles into it, returning closed status and invalidated handle count.
Instructions
Close a document by name (or 'active' for the currently active one). Frees its objects and invalidates any handles into the closed doc. Returns {closed, invalidated_handles}.
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": "close_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | active | |
| workspace | No | Run this call in this named workspace |