Update document
update_documentReplaces the Markdown body and/or title/description of a document. The previous version is kept as a revision. A published document changes publicly at once. On this account a published document is changed only with user_approved set to true.
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": {
"slug": "<slug>"
},
"name": "update_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language code, e.g. en, pl. Defaults to the site language. | |
| site | No | Site domain, e.g. example.com. Optional when the account has one site. | |
| slug | Yes | Document slug | |
| title | No | ||
| markdown | No | ||
| description | No | ||
| user_approved | No | True only after the user has seen this exact change in the chat and agreed to it. |