close_document
Close an open LibreOffice document. Safeguards unsaved work by warning before closing; use the force option to discard changes and close.
Instructions
Close an open document.
Refuses with a warning if the document has unsaved changes (so in-flight
work — yours or a human's, in a live window — isn't silently discarded);
save_document first, or pass force=true to close and discard.
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": {
"doc_id": "<doc_id>"
},
"name": "close_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| doc_id | Yes |