get_report_data
Retrieve checkup report data as JSON or markdown by report ID or check ID to inspect individual check results before using issue tools for findings.
Instructions
Get checkup report file content: the JSON data of each check, in a 'data' field. Either report_id or check_id must be provided. For findings and recommendations, use the issues tools (list_issues, view_issue).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_report_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | File type: 'json' (default), or 'md' for markdown that the legacy postgres-checkup tool uploaded | |
| debug | No | Enable verbose debug logs | |
| org_id | No | Organization ID. Optional with a per-organization token (uses the stored org); REQUIRED with a global token, which can reach every organization the user belongs to and will not assume one. Use orgs_list / `pgai orgs` to discover valid values. | |
| check_id | No | Filter by check ID (e.g., 'H002', 'F004') | |
| report_id | No | Checkup report ID (optional if check_id is provided) |