Edit doc
edit_docEdit a doc: rename it (name), replace its whole body (content) or add to the end (append). Changing part of the body means sending the full HTML with the edits; get_doc returns the current one. For when the user asks to change a doc.
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": {
"doc_id": "<doc_id>"
},
"name": "edit_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Rename the doc (its title) | |
| append | No | Added at the end of the body, keeping what is there | |
| doc_id | Yes | Doc to edit | |
| content | No | Replaces the whole body. Read it with get_doc first and send it back edited |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| action | Yes | ||
| changed | No | ||
| resource | Yes |