update_document
Update a document's title or description by ID while leaving omitted fields unchanged. Preview changes first, then confirm to apply them.
Instructions
Update a document. Omitted fields stay unchanged.
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": {
"document_id": "<document_id>"
},
"name": "update_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | At most 255 characters. | |
| confirm | No | false: preview only, nothing changes. true: applies it; get the user's approval of the preview first. | |
| description | No | Document text; "" clears it. | |
| document_id | Yes | Numeric document id, as returned by list_documents. |