run_and_wait
-
Run one shell command in a pane, wait for it to finish, and read its exit status.
- MCP request method
prompts/getSendrun_and_waitas the prompt name, with the arguments below.
Arguments
Result
Returns the prompt’s messages. The client supplies the advertised arguments as strings.
Protocol data
Use the complete advertised contract for validation and client integration.
Registration
{"_meta": {"com.git-pull.libtmux-mcp/prompt": {"arguments": [{"description": "the shell command to run","name": "command","required": true},{"description": "the target pane, such as %1","name": "pane_id","required": true},{"description": "seconds to wait for completion; defaults to 60","name": "timeout","required": false}],"description": "Run one shell command in a pane, wait for it to finish, and read its exit status.","name": "run_and_wait","requiresTools": ["run_shell_command"],"title": "Run a command and wait"}},"arguments": [{"description": "the shell command to run","name": "command","required": true},{"description": "the target pane, such as %1","name": "pane_id","required": true},{"description": "seconds to wait for completion; defaults to 60","name": "timeout"}],"description": "Run one shell command in a pane, wait for it to finish, and read its exit status.","name": "run_and_wait","title": "Run a command and wait"}