PATCH
notion_pages_update.py
from charter.packs import notion
result = await notion.pages_update.ainvoke({"pageId": ..., "body": ...})
Requires
Update content.This tool’s JSON schema is 19 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.pages_update.derived(
name="pages_update_narrowed",
drop={"body.icon", "body.cover", "body.template"},
)
Path parameters
| Field | Type | Description |
|---|---|---|
pageId * | string | The ID of the page. |
Query parameters
| Field | Type | Description |
|---|---|---|
filterProperties | string[] | Property IDs to return on the page that comes back, instead of all of them. A page that does not have a listed property omits it. max 100 items |
Body
| Field | Type | Description |
|---|---|---|
body * | PageUpdateBody | The fields to change. |