github_code_scanning_commit_autofix
Automatically commit a fix for a code scanning alert by providing the repository owner, repo name, and alert number. Optionally include a request body to customize the fix.
Instructions
Commit an autofix for a code scanning alert
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": {
"owner": "<owner>",
"repo": "<repo>",
"alert_number": "<alert_number>"
},
"name": "github_code_scanning_commit_autofix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body (JSON object) | |
| repo | Yes | repo | |
| owner | Yes | owner | |
| alert_number | Yes | alert_number |