# list_panes

Source: https://libtmux.org/en/ts/latest/mcp/tools/list_panes/

> Inspect tmux metadata; accepts no client-supplied executable input. Panes on this server, with the command each is running and its directory. Marks the pane this server runs in (isCallerPane) and panes a person is watching (isAttended). Metadata only — search_panes reads their contents.

MCP is in development

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

Inspect tmux metadata; accepts no client-supplied executable input. Panes on this server, with the command each is running and its directory. Marks the pane this server runs in (isCallerPane) and panes a person is watching (isAttended). Metadata only — [search\_panes](https://libtmux.org/en/ts/latest/mcp/tools/search_panes/) reads their contents.

[All TypeScript tools](../) · [JSON](../list_panes.json) · [Source](https://github.com/libtmux/libtmux-ts/blob/3fe1ca654b81b8cbf4a13b777a001a3298c87a6f/packages/mcp/src/tools/discovery.ts#L150)

## Arguments

* `session` optional · string

  Session id ($1) or name.

* `window` optional · string

  Stable window id, e.g. @1.

## Schemas

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