terminal_exec
Runs interactive shell commands in a tmux session and returns output for monitoring or environment activation; use ssh_exec for batch commands.
Instructions
Run an INTERACTIVE command in tmux and return output. Only for interactive/monitoring use (top, watch, conda activate). For batch commands, use ssh_exec instead.
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": "terminal_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Ms to wait for output (default 1000, max 30000) | |
| command | Yes | Shell command to run | |
| session | No | hpc |