fetch_resources_summary
Retrieve a compliance summary for resources by asset run ID and resource type, showing total resources, compliant count, and non-compliant count.
Instructions
Use this to get the summary on resource
Use this when total items in 'fetch_resources' is high
Fetch a summary of resources for a given asset run id and resource type.
Get a summarized view of resources include
- Compliance breakdown for resource
- Total Resources available
- Total compliant resources
- Total non-compliant resourcesArgs: - id (str): asset run ID - resourceType (str): Resource type
Returns: - complianceSummary (dict): Summary of compliance status across checks. - error (Optional[str]): An error message if any issues occurred during retrieval.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"resourceType": "<resourceType>"
},
"name": "fetch_resources_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| resourceType | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| complianceSummary | No | ||
| error | No |