Suggest a fix
suggest_fixAdd concrete fixes for failed QA steps to the recording report by diagnosing the root cause and specifying whether the change belongs in the app, test, or environment.
Instructions
Add your suggested fix for a failed step to the recording's report, shown in the "AI agent's suggested fix" column. Use the step numbers from stop_recording (failedChecks / toolErrors) or from failed tool calls during the recording. Diagnose the actual cause from the evidence (error explanation, actual page text, screenshot, console and network errors) and give a concrete fix: name the selector, file, endpoint or setting to change. Say whether the fix belongs in the app (a real bug), the test (wrong selector or expectation) or the environment (server down, missing data). Works during a recording or after stop_recording; calling it again for a step replaces the earlier suggestion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fix | Yes | The concrete fix to make | |
| step | Yes | Step number of the failed check or tool call | |
| cause | No | Your diagnosis of the root cause | |
| target | No | Where the fix belongs: app (bug in the site), test (the test is wrong) or environment |