Call readonly tools batch

call_readonly_tools_batch

call_readonly_tools_batch
readonly tool
readonly tool
call_readonly_tools_batch

Call readonly MCP tools serially and return per-tool results.

Use when you need several read-only observations in one ordered MCP turn, such as listing sessions and then reading server metadata.

Avoid when any nested operation changes tmux state — use call_mutating_tools_batch for readonly + mutating workflows, or call the individual tools when each result should be reviewed before choosing the next action.

Side effects: None beyond the nested readonly tools. Mutating and destructive nested tools are rejected even when the server process is running with a higher safety tier.

Example:

{
  "tool": "call_readonly_tools_batch",
  "arguments": {
    "operations": [
      {"tool": "list_sessions", "arguments": {}},
      {"tool": "get_server_info", "arguments": {}}
    ],
    "on_error": "stop"
  }
}

Parameters

Parameter

Type

Required

Default

Description

operations

list[ToolCallOperation]

yes

on_error

_OnError

no

'stop'

ctx

Context

no