mcp.src.TmuxTools.call_read_tools_batch
- #[tool_router(router = contract_router, vis = "pub(super)")] impl Tmux
Tools #[tool( description = "Call a serial batch of at most sixteen enabled inspect tools. One \ approval for this batch covers every enabled nested name; inner tools do \ not receive separate client approval. The complete JSON-RPC response \ line, including its request ID and newline, is capped at 1,000,000 bytes; \ truncated payloads and omitted bytes are explicit.", title = "Call Read Tools Batch", meta = crate::capability_meta!( Inspect, None, effects = [Observe, Change], outputs = [TmuxMetadata, TerminalContent, ProcessEnvironment, ConfiguredCommand], secrets = true, untrusted = true, sinks = {"operations" => [NestedTool], "on_error" => [None]}, literalized = [], nested = [ "list_sessions", "list_windows", "list_panes", "get_server_info", "get_session_info", "get_window_info", "get_pane_info", "capture_pane", "capture_since", "snapshot_pane", "search_panes", "find_pane_by_position", "get_tmux_variables", "show_option", "show_environment", "show_hooks" ], self_bounded = true, always_load = false, ) )] pub async fn call_read_tools_batch( &self, Parameters(ReadBatch : Parameters<ReadBatchArgs>, context: RequestContext<rmcp::RoleServer>, ) -> Result<Json<BatchResult>, ToolArgs { operations, on _error, }) Error > -
- Parameters
-
-
Parameters(ReadBatchArgs { operations, on_error, })(Parameters<ReadBatchArgs>) #
-
Guides#
Pages that discuss call_read_tools_batch.