# wait_for_channel

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

> Change tmux state; no client-supplied executable input. Block until something signals a tmux wait-for channel with 'tmux wait-for -S <channel>'. Use when you composed a shell command that signals it. For an ordinary command whose completion you want, run_shell_command already does this and also reports the exit status.

MCP is in development

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

Change tmux state; no client-supplied executable input. Block until something signals a tmux wait-for channel with ‘tmux wait-for -S ’. Use when you composed a shell command that signals it. For an ordinary command whose completion you want, [run\_shell\_command](https://libtmux.org/en/dotnet/latest/mcp/tools/run_shell_command/) already does this and also reports the exit status.

[All .NET tools](../) · [JSON](../wait_for_channel.json) · [Source](https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux.Mcp/Policy/CapabilityModel.cs#L587)

## Arguments

* `channel` required · string

  The tmux wait-for channel.

* `timeoutSeconds` optional · number | null

  Requested timeout in seconds.

  Default: `null`.

## Schemas

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