# search_panes

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

> Read pane output; accepts no client-supplied executable input. Returned content may be sensitive or untrusted. Searches the visible output of every pane.

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. Searches the visible output of every pane.

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

## Arguments

* `max_lines` optional · integer

  maximum matching panes to return

* `max_matches_per_pane` optional · integer

  maximum matching lines per pane

* `pattern` required · string

  bounded text or regular expression to search for

* `regex` optional · boolean

  treat pattern as a regular expression

## Schemas

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