fetch_links
Extract link text and URLs from a web page to collect sources from catalog or listing pages, with SSRF protection blocking internal addresses.
Instructions
Ссылки со страницы: текст ссылки + адрес.
КОГДА: собрать источники со страницы-каталога. НЕ КОГДА: нужен текст страницы → fetch_page. Внутренние адреса блокирует страж SSRF.
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_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| max_links | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |