# wait_for_text

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

> Read pane output; accepts no client-supplied executable input. Returned content may be sensitive or untrusted. Wait within one deadline for pane text.

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. Wait within one deadline for pane text.

[All Swift tools](../) · [JSON](../wait_for_text.json) · [Source](https://github.com/libtmux/libtmux-swift/blob/254f8b2be7eb60cacc3ffcb3ea8e456784f582df/Sources/LibTmuxMCP/ToolOperation.swift#L20)

## Arguments

* `cursor` optional · string

  Caller-controlled cursor.

* `maxLines` optional · integer

  Caller-controlled maxLines.

* `paneId` required · string

  Caller-controlled paneId.

* `patterns` required · array

  Caller-controlled patterns.

* `regex` optional · boolean

  Caller-controlled regex.

* `stop` optional · array

  Caller-controlled stop.

* `timeoutMs` optional · integer

  Caller-controlled timeoutMs.

## Schemas

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