search_pages
Search and retrieve Notion pages using a query string within the Multi-MCPs server, enabling quick access to specific content across integrated APIs.
Instructions
Search Notion pages by query string
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |
Implementation Reference
- src/apis/notion/notion.ts:118-123 (handler)The main handler function that implements the search_pages tool logic: validates Notion token and query, then calls the Notion client's search method.async search_pages(args: Record<string, unknown>) { if (!cfg.notionToken) throw new Error("NOTION_TOKEN is not configured"); const query = String(args.query || ""); if (!query) throw new Error("query is required"); return client.search(query); },
- src/apis/notion/notion.ts:88-97 (registration)Registers the search_pages tool in the Notion tools array, including its name, description, and input schema requiring a query string.name: "search_pages", description: "Search Notion pages by query string", inputSchema: { type: "object", properties: { query: { type: "string" }, }, required: ["query"], }, },
- src/apis/notion/notion.ts:90-96 (schema)Input schema definition for the search_pages tool, specifying a required 'query' string.inputSchema: { type: "object", properties: { query: { type: "string" }, }, required: ["query"], },