extract_links
Extract all links from a web page with filtering options for internal, external, or all links, including anchor text and caching capabilities.
Instructions
Extract all links from a web page with filtering options
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_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to extract links from | |
| linkType | No | Type of links to extract (default: all) | all |
| includeAnchorText | No | Whether to include anchor text (default: true) | |
| useCache | No | Whether to use cached content if available (default: true) |