Execute cost decision
execute_cost_decisionRun an approved cost decision now (the twin of ankra cost decisions execute): the change it plans happens on the cluster or cloud account - a right-size, a schedule, deleting released volumes. Answers the decision as the run left it: running with its operation_id, or settled with its receipt. A delete with no snapshot needs consent (no_snapshot_acknowledged, or the value the finding's kind names); min_unattached_days raises the minimum age of what a cleanup deletes. Needs the permission the ledger requires for the decision and its run.
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>"
},
"name": "execute_cost_decision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| consent | No | The written consent a delete with no snapshot needs: no_snapshot_acknowledged, or the value the finding's kind names. | |
| decision_id | Yes | The id of a cost decision, as list_cost_decisions shows it. | |
| min_unattached_days | No | The minimum age in days of what a cleanup deletes (0 to 3650; less than the kind's floor is raised to it). |