# wait_for_channel

Source: https://libtmux.org/en/rs/latest/mcp/tools/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 is in development

Server behavior and tool contracts may change. Tool availability depends on the server configuration.

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.

[All Rust tools](../) · [JSON](../wait_for_channel.json) · [Source](https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/tmux-mcp/src/tools/observe.rs#L490)

## Arguments

* `channel` required · string

  The channel name, which is any string both sides agree on.

* `seconds` optional · integer | null

  How long to wait, in seconds. Defaults to 30, capped at 600.

## Schemas

The schema defines required fields, nested values, defaults, and validation constraints.
