fetch_assessments
Retrieve a list of available assessments with ID, name, and category to confirm assessment details before attaching a rule to a control.
Instructions
Fetch the list of available assessments in ComplianceCow.
TOOL PURPOSE:
Retrieves a list of available assessments if no specific match is provided.
Returns only basic assessment info (id, name, category) without the full control hierarchy.
Used to confirm the assessment name while attaching a rule to a specific control.
Args:
categoryId (Optional[str]): Assessment category ID.
categoryName (Optional[str]): Assessment category name.
assessmentName (Optional[str]): Assessment name.
Returns:
- assessments (List[Assessments]): A list of assessment objects, each containing:
- id (str): Unique identifier of the assessment.
- name (str): Name of the assessment.
- category_name (str): Name of the category.
- error (Optional[str]): An error message if any issues occurred during retrieval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| categoryId | No | ||
| categoryName | No | ||
| assessmentName | No |