extract_links
Extract and categorize all links from any webpage to build sitemaps, analyze site structure, find broken links, or discover resources by grouping them as internal, external, social media, or documents.
Instructions
[STATELESS] Extract and categorize all page links. Use when: building sitemaps, analyzing site structure, finding broken links, or discovering resources. Groups by internal/external/social/documents. Creates new browser each time. For persistent operations use create_session + crawl.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
categorize | No | Group links by type: internal (same domain), external, social media, documents (PDF/DOC), images. Helpful for link analysis | |
url | Yes | The URL to extract links from |
Input Schema (JSON Schema)
{
"properties": {
"categorize": {
"default": true,
"description": "Group links by type: internal (same domain), external, social media, documents (PDF/DOC), images. Helpful for link analysis",
"type": "boolean"
},
"url": {
"description": "The URL to extract links from",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}