MCPconceptAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

mcp.src.TmuxTools.select_pane

#[tool_router(router = control_router, vis = "pub(super)")] impl TmuxTools #[tool( description = "Select a pane, making it its window's active pane. Give a direction to \ move relative to it instead: up, down, left, and right follow the \ layout, last returns to the previously active pane, and next and \ previous step through the window in order.", title = "Select Pane", meta = crate::capability_meta!(Manage, None, [Change], [TmuxMetadata], true, true, { "pane" => [TmuxLookup], "direction" => [TmuxState] }) )] pub async fn select_pane( &self, Parameters(SelectPaneArgs { pane, direction }): Parameters<SelectPaneArgs>, ) -> Result<Json<PaneView>, ToolError>

Move focus to a pane, or to the one beside it.

Esc

Type to search.

Reference previewOpen reference