mcp.src.TmuxTools.kill_session
- #[tool_router(router = control_router, vis = "pub(super)")] impl Tmux
Tools #[tool( description = "Kill a tmux session and everything in it.", title = "Kill Session", meta = crate::capability_meta!(Teardown, None, [Delete], [TmuxMetadata], true, true, { "session" => [TmuxLookup] }; idempotent) )] pub async fn kill_session( &self, Parameters(SessionArgs { session }) : Parameters<SessionArgs >, ) -> Result<Json<Killed>, ToolError > -
Kill a session and everything in it.
- Parameters
Guides#
Pages that discuss kill_session.