Run AI diagnosis
diagnose_annotationRun AI diagnosis on an annotation to analyze its page, DOM, and runtime errors, producing ranked root causes, confidence scores, and suggested fixes.
Instructions
Run the AI Diagnosis Engine on an annotation: it analyses the captured page, element, DOM, and runtime errors to produce ranked root causes, a confidence score, a suggested fix, and the likely source files. Calls an AI provider (uses tokens / may cost money) and stores the result. Requires AI + diagnosis enabled by the workspace admin and a key set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Override the model. Optional. | |
| provider | No | Override the AI provider. Defaults to the workspace default. | |
| annotation_id | Yes |