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

#[tool_router(router = contract_router, vis = "pub(super)")] impl TmuxTools #[tool( description = "Resize one window to exact cell dimensions.", title = "Resize Window", meta = crate::capability_meta!(Manage, None, [Change], [TmuxMetadata], true, true, { "window" => [TmuxLookup], "width" => [TmuxState], "height" => [TmuxState] }; idempotent) )] pub async fn resize_window( &self, Parameters(WindowSizeArgs { window, width, height, }): Parameters<WindowSizeArgs>, ) -> Result<Json<WindowView>, ToolError>
Esc

Type to search.

Reference previewOpen reference