fetch_url
Fetch any URL, convert its content to markdown format, with built-in SSRF protection and caching. Optionally summarize the retrieved content using a local LLM.
Instructions
Fetch a URL, convert to markdown. SSRF-protected and cached.
Args: url: The URL to fetch. summarize: If true and Ollama is available, include a summary. max_chars: Maximum content chars (default ~15K/4K tokens). Set higher for full pages.
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_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| max_chars | No | ||
| summarize | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |