List code-scanning alerts
list_code_scanning_alertsList an organization's code-scanning alerts (CodeQL/SARIF) with rule, severity, state, and location; filter by alert state to review and triage security findings.
Instructions
List the organization's code-scanning (CodeQL/SARIF) alerts with rule, severity, state, and location.
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": {
"org": "<org>"
},
"name": "list_code_scanning_alerts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | Yes | Organization login (must be within GHE_ORG_ALLOWLIST when that is set) | |
| state | No |