tool_file_to_string
Convert a file to a string to obtain its content as text for further use.
Instructions
[data] File To String
Parameters:
file (bytes): File
Outputs:
content (string): Content
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_string"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | File (base64 file payload) | |
| content | No | Content |