ui_file_chunk
Fetches a base64-encoded chunk of a built .xlsx, .pptx, PDF, or plan JSON so the canvas can pass it to the host for download.
Instructions
Canvas: one chunk of a built file as base64, so the view can hand it to the host's download
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": {
"project": "<project>"
},
"name": "ui_file_chunk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Bytes to read, at most 512000 | |
| which | No | build: the .xlsx or .pptx. pdf: the exported deck. plan: the project JSON | build |
| offset | No | Byte offset to read from | |
| project | Yes |