Validate stack
validate_stackValidate a stack specification against the cluster without creating or deploying anything: replays the same validation the create lane runs (duplicate stack name, member shape, chart and dependency checks) and reports the errors. The stack object uses the same shape as create_stack, including the parents dependency edges. Returns {valid, errors}, plus a dependency_review whenever a multi-member specification declares no parents at all - those members would deploy in parallel and race each other. Use this before create_stack, and add the missing parents before deploying. Read-only.
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": "<stack>",
"cluster_id": "<cluster_id>"
},
"name": "validate_stack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stack | Yes | The stack specification to validate - the same shape create_stack accepts, including each member's parents. | |
| cluster_id | Yes | Ankra cluster id (UUID) the call targets. Discover ids with list_clusters. |