download_file_raw
Download or read a validated file from the root as base64-encoded bytes with its MIME type, enabling retrieval of binary files such as images and PDFs.
Instructions
Download/read a raw file as base64-encoded bytes with MIME type. Suitable for downloading binary files, images, PDFs, etc. Validated against root.
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": {
"rel_path": "<rel_path>"
},
"name": "download_file_raw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rel_path | Yes | ||
| max_bytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||