update-block
Modify or archive content blocks in Notion using block ID and type. Adjust text, headings, to-dos, or other block types to keep your workspace updated and organized.
Instructions
Update a block's content or archive status
Input Schema
Name | Required | Description | Default |
---|---|---|---|
archived | No | Whether to archive (true) or restore (false) the block | |
block_id | Yes | ID of the block to update | |
block_type | Yes | The type of block (paragraph, heading_1, to_do, etc.) | |
content | Yes | The content for the block based on its type |
Input Schema (JSON Schema)
{
"properties": {
"archived": {
"description": "Whether to archive (true) or restore (false) the block",
"type": "boolean"
},
"block_id": {
"description": "ID of the block to update",
"type": "string"
},
"block_type": {
"description": "The type of block (paragraph, heading_1, to_do, etc.)",
"type": "string"
},
"content": {
"description": "The content for the block based on its type",
"type": "object"
}
},
"required": [
"block_id",
"block_type",
"content"
],
"type": "object"
}