read_url
Download a document from an online URL and extract its text content, including PDF and plain text, when the file is hosted remotely rather than stored locally.
Instructions
Download a document from a URL and extract its text content (max 50MB). Use this when the document is hosted online rather than in the local directory; supports PDF and plain text URLs. Read-only, downloads to a temporary file.
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": "read_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL of the document to download and read | |
| pages | No | Optional page ranges to read, e.g. "1-5", "10", "1-3,7,10-12". If omitted, returns full text. |