Approve review gate (bills credits)
run_gate_approveApprove a review gate. Continuing downstream steps BILLS CREDITS — without confirm:true this only returns what continuing will cost (up to max_credits) and continues nothing. Omit block_ids to continue over ALL blocks the run processed; pass a subset to continue only those; pass [] to close the gate WITHOUT running (or billing) anything further (no confirm needed). No downstream steps → error no_continuation (use run_gate_acknowledge).
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": {
"job_id": "<job_id>"
},
"name": "run_gate_approve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The run whose review gate is pending (gate_pending true in run_get). | |
| confirm | No | true to continue and spend credits; omit to get the price only. | |
| block_ids | No | Blocks to continue over: omit for all the run’s blocks, a subset for only those, [] to close the gate without running anything. |