list_issues
Fetches PostgresAI issues with filters for organization, status, and hidden state, plus pagination, so you can review and triage database observations.
Instructions
List issues from PostgresAI API (same as CLI 'issues list')
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": "list_issues"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| debug | No | Enable verbose debug logs | |
| limit | No | Max number of issues to return (default: 20) | |
| offset | No | Number of issues to skip (default: 0) | |
| org_id | No | Organization ID. Optional with a per-organization token (falls back to config); 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. | |
| status | No | Filter by status: 'open', 'closed', or omit for all (note: the CLI defaults to open). Rows carry status as 'open'/'closed'. | |
| hidden_only | No | List only hidden issues (PostgresAI staff; same as CLI --hidden-only) |