ssh-write-chunk
Write content to remote files with rewrite or append modes, optimized for token-efficient handling of large content via SSH.
Instructions
Write content to remote files with append/rewrite modes (token-efficient for large content)
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": {
"host": "<host>",
"user": "<user>",
"filePath": "<filePath>",
"content": "<content>"
},
"name": "ssh-write-chunk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Remote server hostname or IP address | |
| user | Yes | SSH username | |
| filePath | Yes | Path to file on remote server | |
| content | Yes | Content to write | |
| mode | No | Write mode: "rewrite" or "append" | rewrite |
| privateKeyPath | No | Path to SSH private key (optional) | |
| port | No | SSH port (default: 22) |