wait_for_channel
-
Waits on tmux’s channel state with a bounded timeout. Change tmux state; no client-supplied executable input.
- MCP request method
tools/callSendwait_for_channelas the tool name, with the arguments below.
Arguments#
-
A server-wide tmux channel name.
-
drain_first? =false(boolean) #Consume a pending signal before waiting. Defaults to false.
-
Seconds to wait before giving up. Defaults to 30.0.
No other arguments are accepted.
Result#
Returns object
No other properties are accepted.
Annotations#
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Wait for a channel"
Protocol data#
Use the complete advertised contract for validation and client integration.
Input schema
{"additionalProperties": false,"properties": {"channel": {"description": "A server-wide tmux channel name.","type": "string"},"drain_first": {"default": false,"description": "Consume a pending signal before waiting. Defaults to false.","type": "boolean"},"timeout": {"default": 30,"description": "Seconds to wait before giving up. Defaults to 30.0.","type": "number"}},"required": ["channel"],"type": "object"}Output schema
{"additionalProperties": false,"properties": {"channel": {"type": "string"},"effective_timeout": {"type": "number"},"note": {"type": "string"},"outcome": {"type": "string"},"seconds": {"type": "number"}},"required": ["channel","outcome","seconds","effective_timeout"],"type": "object"}