fetch_checks
Retrieve detailed compliance checks for specific asset runs and resource types. Access check rules, compliance status, and priority levels with built-in pagination for large datasets.
Instructions
Get checks for given assets run id and resource type. Use this function to get all checks for given assets run id and resource type Use 'fetch_assets_summary' tool to get asset run id Use 'fetch_resource_types' tool to get all resource types Function accepts page number (page) and page size (pageSize) for pagination. If MCP client host unable to handle large response use page and pageSize. If the request times out retry with pagination, increasing pageSize from 5 to 10.
If the check data set is large to fetch efficiently or results in timeouts, it is recommended to use the 'summary tool' instead to get a summarized view of the checks.
Call fetch_checks with page=1, pageSize=10
Note the totalPages from the response
Continue calling each page until complete
Summarize all results together
Args: - id (str): Asset run id - resourceType (str): Resource type - complianceStatus (str): Compliance status
Returns: - checks (List[CheckVO]): A list of checks. - name (str): Name of the check. - description (str): Description of the check. - rule (RuleVO): Rule associated with the check. - type (str): Type of the rule. - name (str): Name of the rule. - activationStatus (str): Activation status of the check. - priority (str): Priority level of the check. - complianceStatus (str): Compliance status of the check. - compliancePCT (float): Compliance percentage. - error (Optional[str]): An error message if any issues occurred during retrieval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| resourceType | Yes | ||
| page | No | ||
| pageSize | No | ||
| complianceStatus | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checks | No | ||
| page | No | ||
| totalPage | No | ||
| totalItems | No | ||
| error | No |