fetch_urls
Extract all links from a webpage as deduplicated absolute URLs with visible labels. Use to discover next steps or analyze page outbound connections.
Instructions
Fetch a webpage and return the links on it as a list of {text, url} pairs, where text is the link's visible label and url is the absolute target.
Use this when you need to navigate from a page: to find which link to follow next, or to see what a page links out to. The list is deduplicated and the URLs are made absolute, so you can pass any of them straight to another tool.
Args:
url: The full URL to read links from.
user_id: Optional, same semantics as for fetch_snippet.
Returns: A JSON array of {"text": ..., "url": ...} objects.
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": "fetch_urls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| user_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |