Skip to main content
Glama
crawl4ai-crawl-handler.ts584 B
/** * Crawl4AI Crawl Handler * * Handler for the crawl tool that starts an asynchronous crawl of multiple pages */ import { createHandler, createStringValidator } from '../utils/handler-factory'; /** * Handler for starting a crawl */ export const handleCrawl4aiCrawl = createHandler('crawl', { validateParams: createStringValidator('url', 'URL is required and must be a string'), emptyResponseMessage: params => `Crawl could not be started from ${params.url}.`, errorContext: params => `Error starting crawl from ${params.url}`, }); export default handleCrawl4aiCrawl;

Latest Blog Posts

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/BjornMelin/crawl4ai-mcp-server'

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