/notion/.
For API key setup, see Notion Setup.
Config
Filesystem Layout
page.json file with the page metadata and content. Child pages
appear as nested directories.
page.json carries the page metadata (page_id, title, url,
timestamps, parent_type/parent_id, created_by/last_edited_by),
a markdown field with the page body rendered as Markdown, and the raw
blocks. Blocks with children embed them recursively under a
children key, and the Markdown renders nested blocks with
indentation.
Cache
UsesIndexCacheStore for page metadata. No separate content
cache - file content caching is handled by the workspace IOResult
mechanism.
Example
Shell Commands
Standard commands available on the mounted Notion tree:
Resource-specific commands:
notion-page-create
Create a new page under a parent page. Prints the new page normalized as JSON.
In the TypeScript SDK this command takes
--parent <parent-path> and
--title "title" instead of a raw --json body.