Write binary chunk
write_binaryUse this when the user needs base64 data written to a file on a paired computer byte for byte, including files too large for a single call.
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": "<data>",
"device": "<device>"
},
"name": "write_binary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Base64-encoded content. | |
| mode | No | rewrite replaces the file, append adds to the end. Default rewrite. | |
| path | Yes | Absolute path of the file to write. | |
| device | Yes | ReMCP device id returned by list_devices. Required for every device operation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Optional structured result data for follow-up reasoning and tool calls. | |
| text | Yes | Concise human-readable result of the tool call. |