PATCH
notion_blocks_update.py
from charter.packs import notion
result = await notion.blocks_update.ainvoke({"blockId": ..., "body": ...})
Requires
Update content.This tool’s JSON schema is 64 KB, because it models the whole resource this endpoint writes.
That is more context than most tasks. Narrow it at the call site
with Those are its heaviest branches by schema size, not a recommendation: which ones you can spare is yours to decide. The tool underneath is unchanged.
See Projections.
Tool.derived:narrowed = notion.blocks_update.derived(
name="blocks_update_narrowed",
drop={"body.numbered_list_item", "body.heading_4", "body.heading_3"},
)
Path parameters
| Field | Type | Description |
|---|---|---|
blockId * | string | The ID of the block. |
Body
| Field | Type | Description |
|---|---|---|
body * | BlockUpdateBody | The content to replace. |