run-command
Execute shell commands on remote Linux or Windows servers via SSH, with approval controls for privileged or destructive operations.
Instructions
Execute an arbitrary shell command on the remote server. May modify the system. Commands classified destructive or privileged go through the approval gate; approvalPolicy on the profile decides whether that is a prompt, an automatic allow, or a refusal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tty | No | Allocate a pseudo-terminal | |
| command | Yes | Shell command to execute | |
| profile | No | Profile name | |
| session | No | Run in an existing interactive session (stateful) |