update_block_text
Replace all text content in a Notion block with new plain text while preserving the block type. Apply when you need to overwrite an entire block instead of editing specific words.
Instructions
Replace all text in a specific block with new plain text.
Preserves the block type but replaces all rich text content. Use find_replace_in_block for targeted text changes that preserve formatting.
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": {
"block_id": "<block_id>",
"new_text": "<new_text>"
},
"name": "update_block_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block_id | Yes | ||
| new_text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |