Update document block
doc_updateReplace the Markdown of one block of a docs artifact (needs edit role or higher). The first block of markdown keeps blockId, extra blocks get fresh ids right after it, and an empty string deletes the block. Pass askId to answer an open ask in the same step; an already answered ask fails with conflict. Returns { id, rev, blockIds }.
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>",
"blockId": "<blockId>",
"markdown": "<markdown>"
},
"name": "doc_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| askId | No | ||
| blockId | Yes | ||
| markdown | Yes |