download_file
Retrieve a modified workbook file as base64 after edits. Get the updated content for download or integration.
Instructions
Download a file from the server as base64.
Use after tools that modify a workbook to retrieve the updated file content.
Args: file_path: Local path to the file (typically from upload_file or a tool that created a file).
Returns: dict: A mapping containing: - file_content (str): Base64-encoded file bytes. - filename (str): Basename of the file. - size_bytes (int): Size of the file in bytes.
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": {
"file_path": "<file_path>"
},
"name": "download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |