# list_panes

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

> Inspect tmux metadata; accepts no client-supplied executable input. List panes, optionally within a session or window.

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. List panes, optionally within a session or window.

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

## Arguments

* `session` optional · string

  Caller-controlled session.

* `window` optional · string

  Caller-controlled window.

## Schemas

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