fetch_url
Retrieves a public HTTP(S) URL and returns clean Markdown for pages, Reddit, X, and YouTube transcripts, extracted PDF text, or supported images; use start_index to continue truncated text.
Instructions
Fetch one public HTTP(S) URL. Returns clean Markdown for pages, Reddit posts, X posts, and YouTube video transcripts, extracted PDF text, direct text data, or a supported image. Use start_index to continue truncated text.
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 | Target URL | |
| max_length | No | Maximum text characters to return | |
| start_index | No | Character index to start text content from |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| links | No | ||
| title | No | ||
| content | No | ||
| metadata | No | ||
| extractor | Yes | ||
| pageCount | No | ||
| truncated | No | ||
| wordCount | No | ||
| byteLength | No | ||
| contentType | Yes | ||
| start_index | No | ||
| total_chars | No | ||
| returned_chars | No | ||
| fallback_reason | No | ||
| next_start_index | No |