Update cost autopilot
update_cost_autopilotChange the organisation's cost autopilot policy, one project's defaults layer, or one cluster's tier - one of the three per call. For a project, give project_id with defaults (the project's clusters take those tiers over the organisation's, under any cluster override) or clear_project_defaults true. For the policy, name only what changes: defaults maps the environment kinds to change to tiers (kinds left out keep theirs), quiet_hours and notification_route_id are set or cleared with null (the route is kept with the policy; no notice is sent to it today). For one cluster, give cluster_id with a tier and the reason its cards will show (optionally expires_at), or clear_override true to return it to its environment's tier. Needs billing.manage and clusters.write; every change is audited, and the savings cards carry the new tier from their next read. Reversible by setting the previous values back (read get_cost_autopilot first).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "update_cost_autopilot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | The tier to put the cluster in. | |
| reason | No | Why, as the cluster's cards will show it: 3 to 500 characters. | |
| defaults | No | Environment kinds to change and their tiers. | |
| cluster_id | No | The cluster whose tier to set or clear, from get_cost_autopilot. | |
| expires_at | No | RFC 3339 time the override stops applying; omit for never. | |
| project_id | No | UUID of a project whose defaults layer to set (with defaults) or clear (with clear_project_defaults). The project's clusters take these tiers over the organisation's defaults, under any cluster override. list_projects has the ids. | |
| quiet_hours | No | When the autopilot starts no change of its own; null clears. | |
| clear_override | No | Return the cluster to its environment's tier. | |
| notification_route_id | No | A notification route of the organisation to keep with the policy (no notice is sent to it today); null clears. | |
| clear_project_defaults | No | With project_id: remove the project's defaults so its clusters follow the organisation's again. |