update_document
Modify collaborative documents by updating or appending content in Tiptap JSON format, specifying the document ID and update mode (replace or append).
Instructions
Update a collaborative document with new content
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>",
"content": "<content>"
},
"name": "update_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Document content in Tiptap JSON format | |
| id | Yes | ID of the document to update | |
| mode | No | Update mode: replace entire document or append content (default: replace) |