save_document
Save the active document to a new path or overwrite an existing file, with confirmation to prevent data loss.
Instructions
Save the current document
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 |
|---|---|---|---|
| filePath | No | Optional: Save as new file path | |
| confirmDestructive | No | REQUIRED: Confirm overwrite of existing files |