save_document
Save changes to a Word document, optionally specifying an output path to avoid overwriting the original file.
Instructions
Save all changes back to a .docx file.
Args:
output_path: Path for the output file. If empty, overwrites the original
source path of the document under this handle.
document_handle: Handle of the document to save. Empty = __default__.
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": "save_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | No | ||
| document_handle | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |