send_command
Run non-secret SSH commands in an isolated channel separate from user terminals and chats; returns a commandId for reading output via command_status.
Instructions
Run a non-secret command in its own SSH channel, isolated from the user's terminal and other chats. Returns commandId; read output using command_status. Each command starts a fresh shell: include cd and environment activation explicitly. Reuses authenticated SSH only, never prompts for credentials or replays commands.
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": {
"command": "<command>"
},
"name": "send_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| session_id | No | Target sessionId from list_sessions. Required by the bridge when multiple sessions exist. | |
| expected_profile_name | No | Optional guard; command is rejected if session_id belongs to another profile. |