ssh_exec
Runs shell commands on SLURM HPC clusters over SSH with configurable timeouts and verbosity, enabling remote job and cluster management.
Instructions
Execute a command on HPC 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": "ssh_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Shell command to run on HPC. Max 500 chars. No heredoc, no python -c, no multi-line code. Write scripts locally and upload via sync_files. | |
| timeout | No | Timeout in ms (1000-600000, default 30000) | |
| verbose | No | Force full output (bypass noise filter) |