map
Rank a site's URLs by how likely they answer a goal without returning page content, so you can decide which pages to scrape.
Instructions
Rank the URLs of a site by how likely they are to answer a goal, without returning content.
Runs the same best-first exploration as crawl but only scores links. Use it to decide
which pages deserve a scrape, or to see what a site offers on a topic.
Returns urls: the top limit entries, best first, each {url, priority, p_target, p_hub, anchor, found_on} (p_target: the page itself likely answers the goal; p_hub:
it likely leads to pages that do), plus pages (fetched) and stats. On failure:
{"error": code, "message": ...}.
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": {
"start_url": "<start_url>",
"goal": "<goal>"
},
"name": "map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | ||
| limit | No | ||
| max_pages | No | ||
| start_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||