synthesize_patch_tool
Start CEGIS synthesis to generate a verified patch that kills a surviving mutant, combining LLM candidates, genetic algorithm evolution, and counterexample feedback.
Instructions
Start CEGIS synthesis to generate a patch that kills a surviving mutant. The engine uses LLM candidates + genetic algorithm evolution + counterexample feedback to produce a verified patch. Returns a SynthesisResult dict.
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": {
"projectId": "<projectId>",
"workingDirectory": "<workingDirectory>",
"testCommand": "<testCommand>"
},
"name": "synthesize_patch_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| regionId | No | ||
| projectId | Yes | ||
| llmBackend | No | mock | |
| contextCode | No | ||
| testCommand | Yes | ||
| originalCode | No | ||
| maxIterations | No | ||
| populationSize | No | ||
| mutationCommand | No | ||
| targetMutantIds | No | ||
| workingDirectory | Yes |