html_html_links
Extract all hyperlinks from HTML into a list of link text and URLs. Resolve relative links by providing a base URL.
Instructions
[html] Extract all hyperlinks from HTML. Returns list of {text, href} dicts. Pass base_url to resolve relative links.
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": {
"html": "<html>"
},
"name": "html_html_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | ||
| base_url | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |