remote_shell
Execute shell commands on a remote Linux server to handle deployments, check logs, restart services, or run ad-hoc tasks. Set an optional timeout to control command execution.
Instructions
Run a shell command on the configured remote Linux server (REMOTE_HOST). Use for deployments, log checks, service restarts, or any ad-hoc command on a remote machine.
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": "remote_shell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Shell command to run on the remote server | |
| timeout_seconds | No | Timeout in seconds (default: 30, max: 300) |