Sync Markdown File
sync_markdown_fileSync a local Markdown file to Notion by creating a new page or replacing an existing page's content. Specify file path and optional page ID for replacement.
Instructions
Create a new page or replace an existing page from a local Markdown file.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>"
},
"name": "sync_markdown_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute or relative Markdown file path. | |
| page_id | No | Existing page id to replace. | |
| parent_page_id | No | Parent page id when creating a new page. | |
| title | No | Optional page title override. |