execute
Execute shell commands on remote SSH servers to manage systems, run scripts, and perform administrative tasks through configured server connections.
Instructions
Execute a shell command on a single SSH server.
Args: server: Server name (e.g. 'pro-dicentra', 'inf-ai'). Must match a configured server. Use list_servers to see available servers. command: Shell command to execute on the remote server. timeout: Command timeout in seconds. Default 30. working_dir: Remote directory to execute from. Uses server default if omitted. force: Bypass dangerous command detection. Use with extreme caution. Default false.
Returns: Formatted command execution result with stdout, stderr, and exit code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | Yes | ||
| command | Yes | ||
| timeout | No | ||
| working_dir | No | ||
| force | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |