Set cluster variable
set_cluster_variableCreate or update (upsert) a variable on the current cluster, overriding any organisation variable of the same name. Stack members that interpolate it re-render on the cluster's next reconcile (reconcile_cluster forces one). Variables are plain configuration - a value that looks like a secret is refused; store secrets with SOPS instead.
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": {
"name": "<name>",
"value": "<value>",
"cluster_id": "<cluster_id>"
},
"name": "set_cluster_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Variable name as referenced in ${{ ankra.variables.<name> }}. | |
| value | Yes | The value. May be empty. | |
| cluster_id | Yes | Ankra cluster id (UUID) the call targets. Discover ids with list_clusters. | |
| description | No | Optional free-text note on what the variable configures. |