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

#[tool_router(router = contract_router, vis = "pub(super)")] impl TmuxTools #[tool( description = "Return metadata for one window.", title = "Get Window Info", meta = crate::capability_meta!(Inspect, None, [Observe], [TmuxMetadata], true, true, { "window" => [TmuxLookup] }) )] pub async fn get_window_info( &self, Parameters(crate::WindowArgs { window }): Parameters<crate::WindowArgs>, ) -> Result<Json<WindowView>, ToolError>
Esc

Type to search.

Reference previewOpen reference