Generate an AI fix for an OptiQra issue
optiqra_ai_fixGenerate a suggested fix for a single issue from an OptiQra report. Send the issue and your AI provider API key to receive a concrete remediation step.
Instructions
Given a single issue from an OptiQra report (as produced by optiqra_analyze), asks an AI provider to generate a suggested fix. Requires an API key for the chosen provider — OptiQra forwards it directly to that provider and never stores it server-side.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issue | Yes | The issue object (from an optiqra_analyze report) to generate a fix for. | |
| model | No | Optional specific model name to use for that provider. | |
| apiKey | No | API key for the chosen provider. Optional if OPTIQRA_PROVIDER_API_KEY is set in this server's environment. | |
| provider | Yes | AI provider to use for this request. |