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

#[tool_router(router = inspect_router, vis = "pub(super)")] impl TmuxTools #[tool( name = "get_server_info", description = "Report every session with its windows and panes, in one call. \ Prefer this over calling the three listing tools separately: \ it costs tmux four commands rather than one per object.", title = "Describe Server", meta = crate::capability_meta!(Inspect, None, [Observe], [TmuxMetadata], true, true, {}; always_load) )] pub async fn describe(&self) -> Result< Json<Tree>, ToolError >

Report the whole hierarchy in one call.

Esc

Type to search.

Reference previewOpen reference