web_fetch
Fetch web page content by supplying a URL. Returns the page title, text content, and links for further use.
Instructions
Fetch the content of a web page for the provided URL.
Requires OLLAMA_API_KEY environment variable to be set.
Args:
url: The absolute URL to fetch.
Returns:
JSON-serializable dict with page title, content, and 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": {
"url": "<url>"
},
"name": "web_fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |