list_defects
List defect records grouped by root cause to identify failure patterns. Filter by project, status, or name to find top open defects.
Instructions
List defect records for a project. Defects group similar test result failures by root cause. Each defect has a name, status (open/closed), and optional matcher rules. Use this as the entry point for failure pattern analysis: 'what are the top open defects in this project right now?'
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_defects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | Project ID. Must be a number (integer), not a string. | |
| projectName | No | Project name (alternative to projectId). | |
| status | No | Filter by defect status. Values: OPEN, CLOSED. Omit to return all. | |
| name | No | Filter by partial defect name. | |
| page | No | Page number, 0-based. | |
| size | No | Page size. |