write
Create or fully replace a UTF-8 text file on a selected remote SSH host, creating any missing parent directories automatically.
Instructions
Create or fully replace a UTF-8 text file. REMOTE: paths live on selected target (ssh target.ssh); the file is written on the remote host (parent directories are created).
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": {
"file_path": "<file_path>",
"content": "<content>",
"target": "<target>"
},
"name": "write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Exact target name from remote_ssh_targets list. Always select the intended host explicitly. | |
| content | Yes | Full UTF-8 text content to write. | |
| file_path | Yes | Path to write, on the remote host selected target. A relative path resolves against the target root. |