Change a block
update_blockChange some fields of one block on a page, by its id from read_page, and leave the rest of it and every other block as they are: the way to change a price, a line of text or a picture without resending the page. A block keeps its type. On a wiki, the block tools change its footer; save_wiki_page changes its articles.
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": {
"path": "<path>",
"id": "<id>",
"fields": "<fields>"
},
"name": "update_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The block's id, as read_page gives it | |
| path | Yes | The page: "" for the home page, "_footer" for the footer | |
| token | No | The site token from create_site or the site's settings. Omit if your Authorization header carries it. | |
| fields | Yes | The fields to change, each replacing the one it names, an array whole; null takes a field away. Every field you leave out stays as it is. | |
| summary | No | What this change does, in a few words, for the history |