wait_for_channel
-
Change tmux state; no client-supplied executable input. Waits on tmux’s channel state with a bounded timeout.
- MCP request method
tools/callSendwait_for_channelas the tool name, with the arguments below.
Arguments#
-
a server-wide tmux channel name
-
drain_first? (boolean) #consume a pending signal before waiting
-
seconds to wait before giving up
- minimum
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": {"description": "consume a pending signal before waiting","type": "boolean"},"timeout": {"description": "seconds to wait before giving up","minimum": 0,"type": "number"}},"required": ["channel"],"type": "object"}Output schema
{"additionalProperties": false,"properties": {"effectiveTimeoutSeconds": {"type": "integer"},"signalled": {"type": "boolean"},"timeoutClamped": {"type": "boolean"}},"required": ["signalled","effectiveTimeoutSeconds"],"type": "object"}