Read file or URL
read_fileRead text with line pagination, Excel ranges, images, PDF pages, DOCX outline/XML, or a URL to retrieve specific file content.
Instructions
Read text with line pagination, Excel ranges, images, PDF pages, DOCX outline/XML, or a URL.
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": {
"path": "<path>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| isUrl | No | ||
| range | No | ||
| sheet | No | ||
| length | No | ||
| offset | No | ||
| options | No | ||
| deviceId | No | ||
| deviceName | No |