run_command
Execute shell commands on a VPS via SSH to manage files, services, Docker, and firewall, with support for custom timeout and working directory.
Instructions
Execute a shell command on the VPS via SSH
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": "run_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The shell command to execute | |
| timeout | No | Timeout in milliseconds (default: 30000) | |
| working_directory | No | Directory to run the command in |