run_command
Execute a shell command in a tmux pane and capture both its output and exact exit code. Provides reliable command execution and result retrieval.
Instructions
Run shell command with exact exit code and pipe-pane output capture
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "run_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | ||
| target | No | ||
| command | No | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |