PATCH
notion_pages_update_markdown.py
Requires
Update content.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Replace a page’s content with Markdown, which Notion parses into blocks. This replaces the whole body, so read it first if you mean to edit rather than overwrite.
from charter.packs import notion
result = await notion.pages_update_markdown.ainvoke({"pageId": ..., "body": ...})
Update content.| Field | Type | Description |
|---|---|---|
pageId * | string | The ID of the page. |
| Field | Type | Description |
|---|---|---|
body * | PageMarkdownUpdateBody | The new content. |
Was this page helpful?