write_file
Save base64-encoded bytes to a specified device file, with a decoded size limit of about 4MB, enabling local file creation or transfer.
Instructions
Writes base64-encoded bytes to a file on the device (max ~4MB decoded).
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": {
"path": "<path>",
"data_b64": "<data_b64>"
},
"name": "write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute file path. | |
| data_b64 | Yes | Base64-encoded content. |