# wait_for_channel

Source: https://libtmux.org/en/java/latest/mcp/tools/wait_for_channel/

> Waits on tmux's channel state with a bounded timeout. 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.

Waits on tmux’s channel state with a bounded timeout. Change tmux state; no client-supplied executable input.

[All Java tools](../) · [JSON](../wait_for_channel.json) · [Source](https://github.com/libtmux/libtmux-java/blob/842228310449e879ebcaa3f910597757c9dbffd6/libtmux-mcp/src/main/java/io/github/libtmux/mcp/Catalog.java#L627)

## Arguments

* `channel` required · string

  A server-wide tmux channel name.

* `drain_first` optional · boolean

  Consume a pending signal before waiting. Defaults to false.

  Default: `false`.

* `timeout` optional · number

  Seconds to wait before giving up. Defaults to 30.0.

  Default: `30`.

## Schemas

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