append_blocks
Append blocks under parent_id. Each child carries type and the matching <type>: {...} Notion-shape payload (paragraph, heading_1, callout, code, image, …). Pass after to insert a block AFTER a specific sibling instead of at the end. This call does NOT recurse: a nested children array inside a block's own payload is rejected with 400. Build a tree one level per call, parenting each call on an id the previous one returned. Mirrors PATCH /v1/blocks/{parent_id}/children.
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": {
"parent_id": "<parent_id>",
"children": "<children>"
},
"name": "append_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ||
| children | Yes | ||
| parent_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||