libtmux_mcp.tools.pane_tools.find_pane_by_position
Python
- Python
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
-
Find the pane occupying a corner of a tmux window.
Composes the four
pane_at_*predicates so callers can target a layout-relative position (e.g. "the bottom-right pane") in one round-trip instead of listing every pane and computing the geometry. Resolves the window the same way as the other window-scoped tools.- Parameters
-
-
corner ( PaneCorner ) – One of
'top-left','top-right','bottom-left','bottom-right'. -
window_index ( str | None ) – Window index. Requires session_name or session_id.
-
- Returns
-
PaneInfo Serialized pane occupying the requested corner.
- Raises
-
-
ExpectedToolError – If no pane satisfies both edge predicates for that corner — in practice only possible for layouts tmux itself produced via custom layout strings; the built-in layouts always have a pane at every corner.
-