update_document
Update a document by replacing, appending, prepending, or patching its content. Use find_text to locate text for patch edits.
Instructions
Update a document. edit_mode=patch requires find_text to locate the edit.
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": {
"id": "<id>"
},
"name": "update_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| text | No | ||
| title | No | ||
| publish | No | ||
| edit_mode | No | ||
| find_text | No |