codesafe_bug_summary
Aggregate scan defects by rule to prioritize audits. View each rule's code, name, category, severity, and total count, with optional sample IDs.
Instructions
Aggregate defects by rule (from bugType). Use this to pick a rule to audit.
Returns per-rule: ruleCode, ruleName, category, severity level, and total. IDs are omitted by default; set include_ids=true to include a bounded sample.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"task_id": "<task_id>"
},
"name": "codesafe_bug_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| id_limit | No | ||
| include_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||