Confirm a prepared change
confirm_actionConfirm one proposal genaya_act returned with confirm_channel in_chat, after the member said yes: pass its action_id and body_hash exactly as returned. A changed proposal is refused (ask again), an already-confirmed one replays its receipt, and a genaya_page proposal answers needs_human with a fresh confirm_url to show. Free.
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": {
"action_id": "<action_id>",
"body_hash": "<body_hash>"
},
"name": "confirm_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action_id | Yes | The action_id of the proposal. | |
| body_hash | Yes | The body_hash of that proposal, exactly as returned - the fingerprint of what the member saw. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| receipt | No | ||
| action_id | Yes | ||
| confirm_url | No | ||
| needs_human | Yes |