mcp.src.TmuxTools.select_pane
- #[tool_router(router = control_router, vis = "pub(super)")] impl Tmux
Tools #[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(SelectPane : Parameters<SelectArgs { pane, direction }) Pane >, ) -> Result<Json<PaneArgs View >, ToolError > -
Move focus to a pane, or to the one beside it.