list_recommendations
Returns paginated CloudFix recommendations with optional filtering by finder, status, account, region, OU, and date range. CloudFix starts a "Suggested" recommendation automatically only while the maintenance window covering its account and region is open, so one may be held until its window opens, or blocked because no window covers it; its window state is returned with verbose: true and by get_recommendation_details. The status "Scheduled" means an SSM execution CloudFix has started, not a recommendation waiting for its window. Pagination note: stop paging when totalReturned equals 0, even if hasMore is true — this occurs when all DB rows on a page were rewritten to a different status (e.g. "Manual Approval" → "Disabled") after the query.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_recommendations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ou | No | Filter by organizational unit(s) | |
| to | No | End date filter (ISO-8601) | |
| from | No | Start date filter (ISO-8601) | |
| page | No | Page number, 1-based (default 1) | |
| finder | No | Filter by finder type, e.g. "Gp2Gp3" or "Ec2LowRiskRightsize" | |
| region | No | Filter by AWS region(s) | |
| status | No | Filter by status values. Valid values: "Suggested", "Scheduled", "In Progress", "Manual Approval", "Completed", "Rejected", "Failed", "No Longer Applicable", "Resource Deleted", "Resource Fixed", "Manually Fixed". "Scheduled" means CloudFix has started the fix's SSM execution; it does not select recommendations waiting for their maintenance window, which are stored "Suggested" and carry their window state in the verbose fields. Note: "Disabled", "Needs Upgrade" and "Needs Stack Upgrade" are assigned while the response is built and are not stored in the database, so using any of them as a filter returns no results. "Needs Upgrade" rows are stripped from the response entirely; "Disabled" and "Needs Stack Upgrade" rows are returned, so they show up in an unfiltered response. | |
| account | No | Filter by AWS account ID(s) | |
| sort_by | No | ||
| verbose | No | Include extra metadata fields (default false), among them the maintenance-window state: maintenanceWindow (scheduled, blocked or fault, the window's name and next opening, who requested the run) and windowRequestedAt. Without them a "Suggested" recommendation held until its window opens, or blocked because no window covers it, cannot be told from one about to run. Note: use get_recommendation_details for full recommendation parameters. | |
| resource | No | Search by resource ID pattern | |
| page_size | No | Results per page (default 25, max 100) | |
| sort_order | No | ||
| include_tags | No | Include each recommendation's stored resource tags as a `tags` object (default false), in concise and verbose mode alike. Every stored key is returned with its exact spelling and original JSON value, including customer tags such as Owner or CostCenter and CloudFix virtual tags such as cloudfix_L4. These are the tags recorded with the recommendation, not live AWS tags, and not validated ownership. |