# wait_for_text

Source: https://libtmux.org/en/go/latest/mcp/tools/wait_for_text/

> Read pane output; accepts no client-supplied executable input. Returned content may be sensitive or untrusted. Waits for new pane output without accepting executable input.

MCP is in development

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

Read pane output; accepts no client-supplied executable input. Returned content may be sensitive or untrusted. Waits for new pane output without accepting executable input.

[All Go tools](../) · [JSON](../wait_for_text.json) · [Source](https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/mcp/manifest_catalog.go#L239)

## Arguments

* `cursor` optional · string

  a cursor returned by an earlier capture

* `max_lines` optional · integer

  maximum observed lines to return

* `pane_id` required · string

  the pane id, such as %1

* `patterns` optional · null | array

  text to wait for; any one ends the wait

* `regex` optional · boolean

  treat patterns and stops as regular expressions

* `stop` optional · null | array

  failure text; any one ends the wait

* `timeout` optional · number

  seconds to wait before giving up

## Schemas

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