# search_panes

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

> Read pane output; accepts no client-supplied executable input. Returned content may be sensitive or untrusted. Search bounded pane content for literal text or a regular expression.

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. Search bounded pane content for literal text or a regular expression.

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

## Arguments

* `maxMatchesPerPane` optional · integer

  Caller-controlled maxMatchesPerPane.

* `pattern` required · string

  Caller-controlled pattern.

* `regex` optional · boolean

  Caller-controlled regex.

* `scrollbackLines` optional · integer

  Caller-controlled scrollbackLines.

* `session` optional · string

  Caller-controlled session.

## Schemas

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