export_cluster_yaml
Export an Ocean cluster configuration as YAML for GitOps comparison or backup.
Instructions
Export an Ocean cluster configuration as YAML. Useful for GitOps comparison or backup.
Args: cluster_id: The Ocean cluster ID (e.g. o-abc12345) account_id: Optional account ID to query. Defaults to SPOTINST_ACCOUNT_ID env var. cloud: Cloud provider: aws or azure (default: aws)
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": {
"cluster_id": "<cluster_id>"
},
"name": "export_cluster_yaml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_id | Yes | ||
| account_id | No | ||
| cloud | No | aws |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |