map_site
Enumerate all internal URLs reachable from a root URL to map site structure and discover pages before crawling. Use include_pattern and limit to filter results.
Instructions
Enumerate all internal URLs reachable from root.
Use when the user wants to map a site's structure or find all pages
before crawling. Often paired with crawl or batch_scrape.
Args: root: Website root (e.g. "https://example.com/docs"). include_pattern: Optional regex; only URLs matching are returned. limit: Hard cap on returned URLs.
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": {
"root": "<root>"
},
"name": "map_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | ||
| limit | No | ||
| include_pattern | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||