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_session_info

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

Type to search.

Reference previewOpen reference