Apply Generated Patch
apply_generated_patchApply a pre-generated security patch to a local git repository, commit changes, and optionally close the related finding as fixed.
Instructions
Apply an already-generated Codex Security Cloud patch to a local git repo, commit it, and optionally close the finding as fixed.
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": {
"findingId": "<findingId>",
"repoPath": "<repoPath>"
},
"name": "apply_generated_patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| findingId | Yes | Action-safe finding id returned by list_findings or get_finding. | |
| repoPath | Yes | ||
| autoClose | No |