Approve or reject a review
heliyos_reviews_decideDecides one pending review by approving the worker's proposed action or rejecting it with feedback. Approving executes the action on the user's behalf, so review and confirm first.
Instructions
Decides one pending review. Approving does the thing the worker proposed: the email is sent, the deal or label is changed, the meeting is booked, or the paused run continues with its action; rejecting discards it and tells the worker why (feedback). A review is decided once; a second call fails. Approving acts on the user's behalf and cannot be undone: read it with heliyos_reviews_get and confirm with the user first. For a deal_update you may pass the fields as the user edited them in data; for a paused tool call, edited arguments in args. Returns structuredContent {review_id, decision, status, run_notified}.
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>",
"decision": "<decision>"
},
"name": "heliyos_reviews_decide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | A paused tool call and approved only: the tool's arguments as the user edited them (see proposal in heliyos_reviews_get). | |
| data | No | deal_update and approved only: the deal's fields as the user confirmed or edited them (field key to value). | |
| comment | No | A note kept on the review. | |
| decision | Yes | approved or rejected. | |
| feedback | No | What to tell the worker, for example why it was rejected or what to change. | |
| review_id | Yes | review_id: a 24-character hex id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| review | No | ||
| status | Yes | ||
| decision | Yes | ||
| review_id | Yes | ||
| run_notified | Yes | false: the change was applied but the paused run could not be told; it will be picked up later. |