read_file
Retrieve file content from XRootD storage servers, specifying optional start and end byte positions for partial reads.
Instructions
Read contents of a file from an XRootD server (supports byte ranges)
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 |
|---|---|---|---|
| end | No | Optional: End byte position for partial read | |
| path | Yes | Path to the file to read | |
| start | No | Optional: Start byte position for partial read | |
| server | No | Name of the XRootD server to use (default: first configured server) |