Approve Run (beta)
alterlab_run_approveApprove a run that is awaiting approval (beta feature). The budget is reserved in one debit before any step starts; an insufficient balance returns 402 and no step runs. Optionally pass max_credits to lower the budget, or to raise it up to the run estimate. Approving an already approved run is a no-op that returns the current state. Spends credits up to the reserved budget; unused credits are refunded when the run ends.
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": {
"run_id": "<run_id>"
},
"name": "alterlab_run_approve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | Run id returned by alterlab_run_create | |
| max_credits | No | Optional new budget for the run |