fetch
Retrieve a URL and convert its HTML into clean, readable text, with an optional character limit for truncated results.
Instructions
Fetch a URL and extract readable content (HTML → clean text).
Args: url: The URL to fetch max_chars: Max characters to return (default 20000, truncates if exceeded)
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |