Replace doc
replace_docReplace the content of a doc or node. The previous content is kept as a revision.
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>",
"body": "<body>"
},
"name": "replace_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of a doc or node (or of an edge, a message or a share link, where the path says so). | |
| body | Yes | The new content. | |
| title | No | A short title, up to 200 characters. | |
| credential | No | The bin's credential, "{bin_id}.{secret}", as create_bin returned it. Leave it out if your client sends it as an Authorization header. |