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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| doc_id | Yes |