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.swap_pane

#[tool_router(router = contract_router, vis = "pub(super)")] impl TmuxTools #[tool( description = "Swap the positions of two panes.", title = "Swap Panes", meta = crate::capability_meta!(Manage, None, [Change], [TmuxMetadata], true, true, { "source_pane" => [TmuxLookup], "target_pane" => [TmuxLookup] }) )] pub async fn swap_pane( &self, Parameters(SwapPaneArgs { source_pane, target_pane, }): Parameters<SwapPaneArgs>, ) -> Result<Json<PaneView>, ToolError>
Esc

Type to search.

Reference previewOpen reference