append_blocks
Add content blocks to a Notion page or after a specific block to extend pages with paragraphs, headings, lists, code, tables, and more.
Instructions
Append blocks to a Notion page.
Args: page_id: The ID of the page to append to blocks: List of block objects. Each block should have: - type: Block type (paragraph, heading_1, code, table, etc.) - Additional fields depending on type: - paragraph: {"text": "content"} - heading_1/2/3: {"text": "heading"} - bulleted_list_item: {"text": "item"} - numbered_list_item: {"text": "item"} - to_do: {"text": "task", "checked": false} - code: {"code": "content", "language": "python"} - quote: {"text": "quote"} - callout: {"text": "content", "emoji": "💡"} - divider: {} (no additional fields) - bookmark: {"url": "https://..."} - image: {"url": "https://..."} - table: {"rows": [["a", "b"], ["c", "d"]], "has_column_header": true} after_block_id: Optional block ID to insert after
Returns: List of created blocks
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": {
"page_id": "<page_id>",
"blocks": "<blocks>"
},
"name": "append_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blocks | Yes | ||
| page_id | Yes | ||
| after_block_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||