interrupt_gracefully
- interrupt_gracefully( pane_id, )prompt
-
Send C-c to a pane and verify the shell prompt came back.
- MCP request method
prompts/getSendinterrupt_gracefullyas the prompt name, with the arguments below.
Arguments
-
the target pane, such as %1
- Binding
- Prompt argument
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 target pane, such as %1","name": "pane_id","required": true}],"description": "Send C-c to a pane and verify the shell prompt came back.","name": "interrupt_gracefully","requiresTools": ["get_pane_info","send_keys","wait_for_text"],"title": "Interrupt a command gracefully"}},"arguments": [{"description": "the target pane, such as %1","name": "pane_id","required": true}],"description": "Send C-c to a pane and verify the shell prompt came back.","name": "interrupt_gracefully","title": "Interrupt a command gracefully"}