batch
Execute multiple Salesforce operations in one call, using $N.field to reference prior results and requiring confirmation for destructive actions.
Instructions
Execute multiple operations in a single call with result references. Use $N.field to reference prior results (e.g., $0.id for the ID from operation 0). Destructive operations require confirm: true.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"operations": "<operations>"
},
"name": "batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | Response detail level (default: summary) | |
| onError | No | Error handling: bail (default) stops on first failure, continue executes remaining | |
| operations | Yes | List of operations to execute sequentially (max 16) |