# libtmux_mcp.tools.wait_for_tools.signal_channel

- **Module:** libtmux_mcp.tools.wait_for_tools
- **Package:** libtmux-mcp
- **Language:** Python
- **Kind:** function
- **Source:** https://github.com/tmux-python/libtmux-mcp/blob/4daddc0dfca96c43bf521d818bf91564e1434760/src/libtmux_mcp/tools/wait_for_tools.py#L260
- **Page:** https://libtmux.org/en/py/stable/mcp/reference/libtmux_mcp-tools-wait_for_tools-signal_channel/

```
libtmux_mcp.tools.wait_for_tools.signal_channel(
    channel: str, socket_name: str | None = None
) -> str
```

Signal a tmux [`wait-for`](/en/tmux/latest/manual/wait-for/) channel, waking blocked waiters.

With no current waiter, tmux records one pending signal for the
next waiter to consume. Signalling that channel again clears it.
A woken waiter continues whatever work follows its wait.

## Parameters

- `channel` (`str`): Channel name. Must match ``^[A-Za-z0-9_.:-]{1,128}$``.
- `socket_name` (`str | None`): tmux socket name.

## Returns

str
    Confirmation message naming the channel.
