cms_query
Query CMS provider datasets from US government sources by dataset ID to retrieve healthcare facility information with field-based filtering.
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
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 | |
| limit | No | Max results (default 50) | |
| offset | No | Offset for pagination |