cms_query
Query CMS provider datasets using a dataset identifier, with optional field-based filtering for targeted results.
Instructions
General-purpose query against any CMS provider dataset by dataset identifier. Use cms_search to find available datasets and their IDs. Supports filtering by any field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (default 50) | |
| offset | No | Offset for pagination | |
| dataset_id | Yes | CMS dataset identifier (e.g. 'xubh-q36u' for hospitals, '4pq5-n9py' for nursing homes) or catalog key | |
| filter_field | No | Field name to filter on (e.g. 'state', 'city', 'provider_name') | |
| filter_value | No | Value to filter for |