List a site's URLs
map_siteHand back every URL a site lists, without reading the pages: what its robots.txt and sitemaps name (gzipped ones too, and indexes of sitemaps), plus the links on the page you named. Each URL comes back once, without tracking parameters or a trailing slash, with lastmod when the sitemap gives one. Only the host you named is kept unless you set includeSubdomains, and search keeps the URLs that contain a word. To read a page, pass its URL to scrape.
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_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The site to map, as any http(s) URL on it. Private and loopback hosts are refused. | |
| limit | No | How many URLs to hand back at most, 1 to 30,000. The price is the same whatever you ask for. | |
| proxy | No | Where the map's requests leave from. Every file it reads goes through the same exit. | |
| search | No | Only URLs that contain this text, upper or lower case alike: `blog` keeps `/blog/` and `/Blog-post`. | |
| sitemap | No | Where to look. "include" reads the site's sitemaps and the links on the page you named; "only" reads the sitemaps alone; "skip" reads the page's links alone. | include |
| includeSubdomains | No | Also keep URLs on other hosts of the same domain, like `blog.example.com` for `example.com`. Off by default: only the host you named, with or without `www.`. |