tool_string_to_file
Convert string content into a file with a specified filename. Use this tool to generate files programmatically.
Instructions
[data] String To File
Parameters:
content (string): Content
filename (string): Filename
Outputs:
file (bytes): File
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_string_to_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | File (base64 file payload) | |
| content | No | Content | |
| filename | No | Filename |