Approve cost decision
approve_cost_decisionApprove a cost decision (the twin of ankra cost decisions approve). plan_hash is the plan_hash get_cost_decision or list_cost_decisions answered: you approve the plan you read, and an approval is refused if the plan changed since. Nothing runs yet: execute_cost_decision runs it, or the cost autopilot does once its run_after passes. Needs billing.manage, or the write permission on the decision's cluster; the ledger decides.
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": {
"decision_id": "<decision_id>",
"plan_hash": "<plan_hash>"
},
"name": "approve_cost_decision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Your reason or note, recorded on the decision. | |
| plan_hash | Yes | The plan_hash a read of this decision answered (64 lowercase hexadecimal digits). | |
| decision_id | Yes | The id of a cost decision, as list_cost_decisions shows it. |