AgentForge

Notion Integration

Create Notion tools — manage pages, databases, and blocks.

Setup

import { createNotionTools } from '@ahzan-agentforge/core';

const tools = createNotionTools({
  token: process.env.NOTION_TOKEN!,
});

NotionToolConfig

interface NotionToolConfig {
  token: string;  // Notion integration token
}

Available Tools

  • search-pages — search Notion pages
  • get-page — get page content
  • create-page — create a new page
  • update-page — update page properties

Next Steps