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

#[tool_router(router = contract_router, vis = "pub(super)")] impl TmuxTools #[tool( description = "Move one window to a session and index.", title = "Move Window", meta = crate::capability_meta!(Manage, None, [Change], [TmuxMetadata], true, true, { "window" => [TmuxLookup], "destination_session" => [TmuxLookup], "destination_index" => [TmuxState] }) )] pub async fn move_window( &self, Parameters(MoveWindowArgs { window, destination_session, destination_index, }): Parameters<MoveWindowArgs>, ) -> Result<Json<WindowView>, ToolError>
Esc

Type to search.

Reference previewOpen reference