mcp.src.TmuxTools.select_layout
- #[tool_router(router = control_router, vis = "pub(super)")] impl Tmux
Tools #[tool( description = "Rearrange a window's panes using a saved tmux layout or a named \ layout and its unique abbreviation. Names follow the running \ daemon's version; mirrored main layouts require tmux 3.5. \ Invalid syntax is refused before window lookup. Return the \ saved layout tmux actually applied.", title = "Arrange Window Panes", meta = crate::capability_meta!(Manage, None, [Change], [TmuxMetadata], true, true, { "window" => [TmuxLookup], "layout" => [TmuxState] }; idempotent) )] pub async fn select_layout( &self, Parameters(SelectLayout : Parameters<SelectArgs { window, layout }) Layout >, ) -> Result<Json<Layout>, ToolArgs Error > -
Arrange a window's panes.
Guides#
Pages that discuss select_layout.