Update_Document
Update an existing document's content by specifying the file path and new text or binary data. Overwrites the current file with the provided content.
Instructions
Update the content of an existing document
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": {
"file_path": "<file_path>",
"content": "<content>"
},
"name": "Update_Document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the file to update | |
| content | Yes | New file content | |
| is_binary | No | Whether the content is base64 encoded binary |