Confirm a prepared change
beleeg_confirm_changeCONFIRM — this is the step that actually makes the change. Call it ONLY with a prepare_id from a beleeg_prepare_change tool, and ONLY after you have shown that tool's summary to the person and they said yes. Never confirm on your own initiative and never confirm something the person did not ask for. The prepare_id works once, for the same person, within 10 minutes; confirming it again returns the earlier result with already_done:true instead of repeating the change. For email and payment actions this tool also performs the delivery and reports it (sent counts, or a checkout_url the person must open to pay). Every confirmed change is written to the league audit log under the person's name. Needs a token that allows changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prepare_id | Yes | The prepare_id returned by a beleeg_prepare_change tool, after the person agreed to its summary. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| done | Yes | True when the change is fully complete (including any delivery step). | |
| action | Yes | ||
| result | Yes | What the action produced (ids, counts, URLs) — see the prepare tool description. | |
| delivery | No | Present for email and payment actions: the outcome of the delivery step (sent counts, checkout_url, or an error). | |
| prepare_id | Yes | ||
| already_done | Yes | True when this prepare_id had been confirmed before; nothing was repeated. | |
| delivery_state | No | For email and payment actions: whether the sending step finished. "unknown" means it was interrupted and may or may not have gone out — say so and offer beleeg_retry_delivery. Never treat "unknown" as done. |