fetch_resources
Retrieve detailed compliance resources by asset run ID and resource type using pagination. Access resource metadata, compliance statuses, security checks, and control mappings for audit evidence and governance analysis.
Instructions
Get resources for given asset run id and resource type Function accepts page number (page) and page size (pageSize) for pagination. If MCP client host unable to handle large response use page and pageSize, default page is 1 If the request times out retry with pagination, increasing pageSize from 5 to 10.
If the resource 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 resource.
Call fetch_resources 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: - resources (List[ResourceVO]): A list of resources. - name (str): Name of the resource. - resourceType (str): Type of the resource. - complianceStatus (str): Compliance status of the resource. - checks (List[ResourceCheckVO]): List of checks associated with the resource. - name (str): Name of the check. - description (str): Description of the check. - rule (RuleVO): Rule applied in 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. - controlName (str): Name of the control. - complianceStatus (str): Compliance status specific to the resource. - 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 |
|---|---|---|---|
| resources | No | ||
| page | No | ||
| totalPage | No | ||
| totalItems | No | ||
| error | No |