crawl_site
Crawl a site to get a manifest of pages with titles and snippets, scoped by path. Page content is cached, so call fetch_url on any listed URL to read the full text.
Instructions
Crawl a site and return a manifest of pages with titles and snippets. Full page content is cached — call fetch_url on any page URL for the full text. Strategy: Firecrawl (JS rendering) → sitemap-first → BFS (if enabled). A start URL with a path (e.g. https://example.com/docs) limits the crawl to pages under that path unless include_path is given; include_path '/' crawls the whole site.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "crawl_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Base URL to crawl. Its path scopes the crawl when include_path is omitted | |
| max_pages | No | Maximum pages to crawl (default 20, max 100) | |
| exclude_path | No | Exclude URLs matching this path prefix (e.g. '/blog') | |
| include_path | No | Only include URLs matching this path prefix (e.g. '/docs'); replaces the start URL's default scope, '/' for the whole site | |
| same_domain_only | No | Keep only pages on the start URL's hostname, for every strategy (default true). false follows off-site links only when the server has BFS crawling enabled; otherwise the crawl stays on the site and the result says so |