create_page_from_file
Create a Notion page by specifying a local markdown file path; the server reads and validates the file directly, avoiding content transmission through the agent context.
Instructions
Create a Notion page from a local markdown file. The server reads and validates the file, then creates the same result as create_page without sending file contents through the agent context.
STDIO MODE ONLY. This tool is not available when the server runs over HTTP, because in HTTP mode the server's filesystem belongs to the server host, not the caller.
Restrictions:
file_path must be an ABSOLUTE path (no relative paths, no ~ expansion)
File must be inside the configured workspace root (defaults to the server's process.cwd(); override via the NOTION_MCP_WORKSPACE_ROOT env var)
File extension must be .md or .markdown
File size must be ≤ 1 MB (1,048,576 bytes)
File must be valid UTF-8
Symlinks are resolved and the resolved path must still be inside the workspace root
For supported markdown syntax, read resource easy-notion://docs/markdown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Page title | |
| file_path | Yes | Absolute path to a local .md or .markdown file (≤ 1 MB, UTF-8, inside the configured workspace root) | |
| parent_page_id | No | Parent page ID. Same resolution rules as create_page. |