extract_urls
Extract all URLs from a target website by crawling through pages at a configurable depth. Useful for mapping site structure and discovering endpoints for security analysis.
Instructions
Extract all URLs from a website using Python web crawler.
Args: url: Target URL depth: Crawl depth (default: 2) user_agent: Optional custom User-Agent string
Example: extract_urls("https://example.com") extract_urls("https://example.com", 2, "Mozilla/5.0... bug-bounty")
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": "extract_urls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| depth | No | ||
| user_agent | No |