ssh_session_upload_content
Upload files to a remote host over SSH without creating local temp files—supply session ID, base64-encoded content, and the remote destination path.
Instructions
Upload content directly to a remote host via SSH (no local temp files).
Args: session_id: The SSH session ID content: Base64-encoded content to upload remote_path: Destination path on the remote host encoding: Content encoding (utf-8, binary)
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": {
"session_id": "<session_id>",
"content": "<content>",
"remote_path": "<remote_path>"
},
"name": "ssh_session_upload_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| encoding | No | utf-8 | |
| session_id | Yes | ||
| remote_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |