Write Remote File Base64
remote_ssh_write_file_base64Write base64-encoded data to a file on a remote SSH host, with options to create parent directories and set file permissions.
Instructions
Decode base64 and write the bytes to a file on the configured SSH host.
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>",
"base64": "<base64>"
},
"name": "remote_ssh_write_file_base64"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | SSH hostname or IP address. Overrides REMOTE_SSH_HOST. | |
| mode | No | Optional chmod mode, for example 644 or 0600. | |
| path | Yes | Remote Linux path. Use absolute paths or ~/path. | |
| base64 | Yes | Base64 encoded bytes to write. | |
| timeoutMs | No | Timeout in milliseconds. | |
| createDirs | No | Create parent directories first. Defaults to true. |