External API integrations (pure API calls only).
- Single-purpose functions that make direct API calls to external systems
- Pure functions that handle HTTP transport layer (response.ok)
- Return consistent
{ success: boolean, data?: any, error?: string } format
- Should NOT handle environment variables, business logic, or orchestrate multiple calls
getDatabaseById(id) - Get a specific database
searchNotionDatabases() - Search for databases