create_page
Create a Notion page within a specified parent page or database, enabling content organization and management through the Multi-MCPs server.
Instructions
Create a Notion page under a parent page or database
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": {
"parent_id": "<parent_id>",
"properties": "<properties>"
},
"name": "create_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent_id | Yes | ||
| properties | Yes |
Implementation Reference
- src/apis/notion/notion.ts:106-111 (handler)Handler function for the create_page tool that validates inputs and calls the Notion client's createPage method.
async create_page(args: Record<string, unknown>) { if (!cfg.notionToken) throw new Error("NOTION_TOKEN is not configured"); const parentId = String(args.parent_id || ""); if (!parentId) throw new Error("parent_id is required"); return client.createPage(parentId, args.properties); }, - src/apis/notion/notion.ts:66-73 (schema)Input schema defining parent_id and properties for create_page tool.
inputSchema: { type: "object", properties: { parent_id: { type: "string" }, properties: { type: "object" }, }, required: ["parent_id", "properties"], }, - src/apis/notion/notion.ts:63-74 (registration)Tool registration entry for create_page including name, description, and schema.
{ name: "create_page", description: "Create a Notion page under a parent page or database", inputSchema: { type: "object", properties: { parent_id: { type: "string" }, properties: { type: "object" }, }, required: ["parent_id", "properties"], }, }, - src/apis/notion/notion.ts:23-28 (helper)Helper method in NotionClient class that creates a Notion page via API request.
createPage(parentId: string, properties: unknown) { return this.request(`/v1/pages`, { method: "POST", body: { parent: { page_id: parentId, database_id: undefined }, properties }, }); }