Get stack cost
get_stack_costGet what a specific stack on the current cluster costs now: its share of the cluster's current estimate, from the namespaces the stack deploys into (the compute their requests are allocated plus the storage of their volumes), as a list-price estimate in the organisation's display currency. has_data false means no figure: the cluster has no current estimate (it was not priced within the last 26 hours), or none of it was attributed to the stack. Its cost is then unknown, not zero.
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": {
"stack_name": "<stack_name>",
"cluster_id": "<cluster_id>"
},
"name": "get_stack_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_id | Yes | Ankra cluster id (UUID) the call targets. Discover ids with list_clusters. | |
| stack_name | Yes | The name of the stack to get the cost for. |