web_extract_links
Extract all links from a webpage with anchor text, categorizing them as internal or external.
Instructions
Scrape a webpage and extract all links with their anchor text, categorizing them as internal or external.
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": "web_extract_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL of the webpage to scrape links from. | |
| ignoreAnchorOnly | No | If true, ignores anchor-only links (e.g., '#section'). Defaults to true. |