tool_file_to_base64
Encode a file into base64 format for simplified data transfer, storage, or integration into text-based protocols.
Instructions
[data] File To Base64
Parameters:
file (bytes): File
Outputs:
base64 (string): Base64
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tool_file_to_base64"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | File (base64 file payload) | |
| base64 | No | Base64 |