filter_clusters_by_tag
Filter Ocean clusters by a specified tag key and optional value to identify clusters with specific labels. Supports AWS and Azure, returning compact summaries or full configurations.
Instructions
Filter Ocean clusters by tag key (and optionally tag value). Works for AWS and Azure. Returns compact summaries by default. Set verbose=true for full cluster configs.
Args: tag_key: Tag key to filter by (e.g. environment, team) tag_value: Optional tag value to match (e.g. production). If empty, matches any value for the key. account_id: Optional account ID to query. Defaults to SPOTINST_ACCOUNT_ID env var. cloud: Cloud provider: aws or azure (default: aws) verbose: Return full configurations instead of compact summaries (default: false). Use when analyzing cluster settings, troubleshooting, or comparing configs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag_key | Yes | ||
| tag_value | No | ||
| account_id | No | ||
| cloud | No | aws | |
| verbose | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |