flaky_fix_suggestions
Generate targeted code fixes to stabilize flaky tests using a root cause diagnosis and framework details.
Instructions
Generate specific code fixes to stabilize flaky tests (Pro)
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": {
"test_code": "<test_code>",
"diagnosis": "<diagnosis>"
},
"name": "flaky_fix_suggestions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| diagnosis | Yes | Root cause diagnosis of the flaky behavior | |
| framework | No | Test framework being used | |
| test_code | Yes | The flaky test source code to fix |