Map Webpages
Tavily
Tavily
Map Webpages
Generate a comprehensive site map by traversing a website from a root URL using Tavily Map. Returns a flat list of discovered URLs rather than extracted content.
ActionAI Tool
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
url | text | Required | The root URL to begin mapping from (e.g. docs.tavily.com). |
instructions | text | Optional | Natural language instructions guiding the mapper (e.g. 'Find all pages about the Python SDK'). Increases cost to 2 credits per 10 pages. |
max_depth | number | Optional | Max depth of the mapping from the root URL. Range: 1-5. Default: 1. |
max_breadth | number | Optional | Max links to follow per level. Range: 1-500. Default: 20. |
limit | number | Optional | Total number of links to process before stopping. Default: 50. |
select_paths | array of text | Optional | Regex patterns to restrict mapping to specific URL paths (e.g. '/docs/.*'). |
select_domains | array of text | Optional | Regex patterns to restrict mapping to specific domains. |
exclude_paths | array of text | Optional | Regex patterns to exclude URL paths from mapping (e.g. '/private/.*'). |
exclude_domains | array of text | Optional | Regex patterns to exclude specific domains from mapping. |
allow_external | yes/no | Optional | Whether to include external domain links in the results. Default: true. |
timeout | number | Optional | Max seconds to wait before timing out the map operation. Range: 10-150. Default: 150. |
include_usage | yes/no | Optional | Include credit usage in the response. Default: false. |
Outputs
| Name | Type | Description |
|---|---|---|
statusCode | number | HTTP status code |
body | object | Tavily Map response with a flat list of discovered URLs |
base_url | text | The root URL that was mapped |
results | array of text | List of URLs discovered during the mapping |
response_time | number | Time in seconds the request took |
usage | object | Credit usage details (only when include_usage is true) |
credits | number | Number of API credits consumed |
request_id | text | Unique request identifier for support |