MCPpre-alphaAPI Reference

Choose documentation 3

stable

Current version

stable
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

libtmux_mcp.tools.window_tools.get_window_info

libtmux_mcp.tools.window_tools.get_window_info ( window_id: str | None = None, window_index: str | None = None, session_name: str | None = None, session_id: str | None = None, socket_name: str | None = None, ) → WindowInfo

Return metadata for a single tmux window (ID, name, layout, dimensions).

Description#

Use this instead of list_windows + filter when you only need one window's info. Resolves the window by window_id first; falls back to window_index within a session if window_id is not given.

Parameters
Returns

WindowInfo Serialized window metadata.

Esc

Type to search.

Reference preview Open reference