Map a site
mapList a site's URLs without reading each page: the start page's links (read over HTTP alone) and the entries of the sitemaps the site declares, within one deadline. URLs stay in scope (the start host and its www twin, the start path's subtree, assets left out, similar URLs folded) and robots.txt applies unless ignoreRobotsTxt is set; what was left out is counted. No page title is fetched. At the deadline the answer is what was found (partial, stoppedBy timeout). Compact by default; debug adds each link's evidence and the sources read. Not for: reading pages, as one page body is read at most.
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": "map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | http(s) URL of the start page | |
| mode | No | The declared identity robots.txt, the page and the sitemaps are read under. authed is not offered: a map reads public sitemaps and one public page. | |
| debug | No | Return the full map response instead of the compact one. | |
| limit | No | Links returned at most. Default 5000; a hosted server takes up to 5000. Reaching it is status completed with stoppedBy limit. | |
| search | No | Keep only the URLs in which every word (at most 10) appears, case-insensitively, in the decoded URL or its title. A filter, not a ranking: the order stays the discovery order, and limit counts the matches. | |
| sitemap | No | include (default): the start page's links and the sitemaps. skip: no sitemap is read. only: no page is read; the links are the sitemap entries in their listed order (the start URL only when a sitemap lists it). | |
| timeout | No | Milliseconds for the whole map. Default 60000; a hosted server takes up to 60000. | |
| integration | No | Your workflow label; recorded, not sent to sites. | |
| excludePaths | No | Pathname regexes that leave a URL out; they win over includePaths. | |
| includePaths | No | Pathname regexes a URL must match. | |
| regexOnFullURL | No | Match includePaths and excludePaths against the canonical URL instead of its pathname. Default false. | |
| crawlEntireDomain | No | Admit URLs anywhere on the start host, not only in the start URL's path subtree. Default false. | |
| includeSubdomains | No | Admit every host under the start URL's apex (the host with one leading www. removed; no public-suffix list). Default false. Each new host's robots.txt is read, for at most 20 hosts. | |
| ignoreQueryParameters | No | Fold URLs that differ only in their query string into the first one seen, returned without its query; each merge is counted (refused.collapsed, with samples under debug). Default false. | |
| deduplicateSimilarURLs | No | Fold /a and /a/, / and /index.html, www and apex, http and https into one URL. Default true. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The map's record id. | |
| links | Yes | ||
| counts | No | returned, refused, and each refusal reason above zero, by name. | |
| status | Yes | ||
| warning | No | The warnings' messages, joined. | |
| stoppedBy | Yes | ||
| agentHints | No |