Edit part of a block
edit_blockChange part of an HTML block by replacing one exact passage of its HTML. before must appear in the block exactly once.
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": {
"boardId": "<boardId>",
"blockId": "<blockId>",
"before": "<before>",
"after": "<after>"
},
"name": "edit_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | Yes | What it becomes | |
| before | Yes | The exact current HTML to replace, verbatim, found once in the block | |
| blockId | Yes | ||
| boardId | Yes | The board's id, from list_boards or create_board |