Get AI diagnosis
get_annotation_analysisRead the latest stored AI diagnosis for an annotation (root causes, confidence, suggested fix, and likely source files). Returns null when none has been generated yet; run diagnose_annotation to create one.
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": {
"annotation_id": "<annotation_id>"
},
"name": "get_annotation_analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| annotation_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| analysis | No | ||
| diagnosis_enabled | No |