wait_for_channel
-
Block until something signals a tmux wait-for channel. A pending signal is consumed. Pair this with a shell command that ends in
tmux wait-for -S <channel>to synchronise with work this server did not start. Change tmux state; no client-supplied executable input.- MCP request method
tools/callSendwait_for_channelas the tool name, with the arguments below.
Arguments#
-
The channel name, which is any string both sides agree on.
-
How long to wait, in seconds. Defaults to 30, capped at 600.
- minimum
0
No other arguments are accepted.
Result#
Returns object
Types#
-
ChannelWaitOutcomeSchema: "signalled" | "deadline"type ¶
Annotations#
destructiveHintfalseidempotentHintfalseopenWorldHintfalsereadOnlyHintfalsetitle"Wait For Channel"
Protocol data#
Use the complete advertised contract for validation and client integration.
Input schema
{"$schema": "https://json-schema.org/draft/2020-12/schema","additionalProperties": false,"properties": {"channel": {"description": "The channel name, which is any string both sides agree on.","type": "string"},"seconds": {"description": "How long to wait, in seconds. Defaults to 30, capped at 600.","minimum": 0,"type": ["integer","null"]}},"required": ["channel"],"type": "object"}Output schema
{"$defs": {"ChannelWaitOutcomeSchema": {"enum": ["signalled","deadline"],"type": "string"}},"$schema": "https://json-schema.org/draft/2020-12/schema","properties": {"channel": {"description": "The channel that was waited on.","type": "string"},"outcome": {"$ref": "#/$defs/ChannelWaitOutcomeSchema","description": "`signalled` or `deadline`."}},"required": ["channel","outcome"],"type": "object"}