Call destructive tools batch¶
call_destructive_tools_batch¶
Call readonly, mutating, or destructive MCP tools serially.
- Returns:
Use when a reviewed workflow intentionally includes destructive tools and should still return one per-operation result envelope.
Avoid when the workflow can fit inside
call_mutating_tools_batch. This wrapper can invoke
destructive nested tools when the server safety tier permits them.
Side effects: Runs readonly, mutating, and destructive nested tools in order. Recursive batch calls are rejected.
Example:
{
"tool": "call_destructive_tools_batch",
"arguments": {
"operations": [
{"tool": "kill_pane", "arguments": {"pane_id": "%7"}},
{"tool": "list_panes", "arguments": {"window_id": "@3"}}
],
"on_error": "stop"
}
}
Parameters
Parameter |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
yes |
— |
— |
|
|
_OnError |
no |
|
— |
|
Context |
no |
— |
— |