document_save
Save the current state of a document to its original file path or a new location. Use this tool to preserve document changes and ensure data persistence in LibreOffice MCP Tools.
Instructions
Save the current state of a document to its file path (or a new path).
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": {
"docId": "<docId>"
},
"name": "document_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | Document handle returned by document_open | |
| filePath | No | New file path to save to (optional — saves to original path if omitted) |