save_document
Save the current document to its existing location or specify a new file path to save as a different file.
Instructions
Save the current document.
Args: file_path: Optional new path to save as (uses current path if not specified)
Returns: Success message or error
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 |
|---|---|---|---|
| file_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |