Skip to main content
Glama

Notion MCP Server

append_block_children.ts585 B
import { notionClient, NotionClient } from "../../notion/client"; import { defineTool } from "../../utils/defineTool"; type AppendBlockChildrenInput = Parameters< NotionClient["blocks"]["children"]["append"] >[0]; export const NOTION_APPEND_BLOCK_CHILDREN_TOOL = defineTool((z) => ({ name: "notion_append_block_children", description: "Append children blocks to a block in Notion.", inputSchema: { appendOptions: z.custom<AppendBlockChildrenInput>(), }, handler: async (input) => { return await notionClient.blocks.children.append(input.appendOptions); }, }));

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/orbit-logistics/notion-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server