fetch_url
Retrieve content from any URL (HTML, text, or PDF) and convert it to markdown format for easy parsing and further processing.
Instructions
Fetch content from a URL (html, text or pdf) and convert it to markdown.
Args: url: The URL to fetch and convert to markdown
Returns: FetchUrlResponse with the markdown content and metadata
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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Error message if fetch failed | |
| query | Yes | The URL that was fetched | |
| result | No | The fetch result |