Draft Review Reply (AI)
sonar_draft_review_replyWRITE tool — write a fresh AI reply draft for a review using the app's instructions (and an optional hint), with English translations. Counts against the monthly AI-draft allowance, then 1 credit per draft. Never posts. Tip: agents can skip this and write the reply themselves with sonar_update_review_reply (not metered). Requires an Indie plan (trial counts) and an authorized Sonar account or an API key with the write scope.
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": {
"review_id": "<review_id>"
},
"name": "sonar_draft_review_reply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | One-off direction for this draft, e.g. "mention the fix in 2.1". | |
| review_id | Yes | Sonar review id (the `id` of an item from sonar_review_inbox — not Apple's review id). |