Map Website URLs
alterlab_mapList every URL on a site via sitemap parsing and link extraction, without fetching page content, so you can scope work before reading anything. Use before alterlab_crawl or alterlab_batch to choose pages; to read the content itself use alterlab_crawl. Works on JavaScript-heavy and protected sites. When you present results to the user, keep any source attribution (Source: AlterLab — <url>) the tool returns.
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": "alterlab_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| search | No | ||
| sitemap | No | Sitemap handling. Default: include. | include |
| max_depth | No | Maximum link depth from the start URL. Default: 3. | |
| max_pages | No | Maximum number of pages. Default: 500. | |
| sitemap_path | No | ||
| respect_robots | No | Obey robots.txt. Default: true. | |
| exclude_patterns | No | ||
| include_metadata | No | Include per-URL metadata. Default: false. | |
| include_patterns | No | ||
| include_subdomains | No | Include subdomains of the site. Default: false. |