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

#[tool_router(router = control_router, vis = "pub(super)")] impl TmuxTools #[tool( description = "Kill a window, closing it in every session that links it.", title = "Kill Window", meta = crate::capability_meta!(Teardown, None, [Delete], [TmuxMetadata], true, true, { "window" => [TmuxLookup] }; idempotent) )] pub async fn kill_window( &self, Parameters(WindowArgs { window }): Parameters<WindowArgs>, ) -> Result<Json<Killed>, ToolError>

Kill one window.

Esc

Type to search.

Reference previewOpen reference