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

#[tool_router(router = contract_router, vis = "pub(super)")] impl TmuxTools #[tool( description = "Set mouse handling for a session or the global session default.", title = "Set Mouse Enabled", meta = crate::capability_meta!(Manage, None, [Change], [TmuxMetadata], true, true, { "session" => [TmuxLookup], "enabled" => [TmuxState] }; idempotent) )] pub async fn set_mouse_enabled( &self, Parameters(SessionFlagArgs { session, enabled }): Parameters<SessionFlagArgs>, ) -> Result<Json<SettingChanged>, ToolError>
Esc

Type to search.

Reference previewOpen reference