tool_chain
Runs 1-8 MCP tool calls sequentially across internal, hot, or cold groups, returns per-step receipts, and halts or continues on failure after pre-run policy checks.
Instructions
Run 1-8 tool calls sequentially across groups (internal, hot or cold ":") and return a receipt per step (judged: exception | mcp-isError | exit-code | error-prefix | ok). on_error "halt" (default) stops at the first failure; there is NO automatic rollback. All steps are policy-checked before any runs (chain_policy, chain_forbidden, deny_tools). background=true returns a chain_id for chain_job. strip_images (default true) saves images to spool files.
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": {
"steps": "<steps>"
},
"name": "tool_chain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | ||
| on_error | No | halt | |
| background | No | ||
| strip_images | No |