fetch_assessment_runs
Retrieve all assessment runs for a specific assessment ID, with pagination support to manage large responses.
Instructions
Get all assessment run for given assessment id 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. use this tool when expected run is got in fetch recent assessment runs tool
Args: - id (str): Assessment id
Returns: - assessmentRuns (List[AssessmentRuns]): A list of assessment runs. - id (str): Assessement run id. - name (str): Name of the assessement run. - description (str): Description of the assessment run. - assessmentId (str): Assessement id. - applicationType (str): Application type. - configId (str): Configuration id. - fromDate (str): From date of the assessement run. - toDate (str): To date of the assessment run. - status (str): Status of the assessment run. - computedScore (str): Computed score. - computedWeight (str): Computed weight. - complianceStatus (str): Compliance status. - compliancePCT (str): Compliance percentage. - complianceWeight (str): Compliance weight. - createdAt (str): Time and date when the assessement run was created. - error (Optional[str]): An error message if any issues occurred during retrieval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| page | No | ||
| pageSize | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assessmentRuns | No | ||
| error | No |
Implementation Reference
- tools/help/help.py:33-33 (helper)The help.py file mentions fetch_assessment_runs in the assessment help documentation, describing its usage.
• fetch_assessment_runs(id, page=1, pageSize=0) - Get all runs with pagination