talonic_review_decide_flags
Decide values a run review flagged: accepting applies the suggested value, rejecting keeps the original. One result, or many at once.
How an agent uses it
- Use it when: after reading talonic_review_flag_progress and the run's results.
- Arguments: run_id, and either result_id + decision (accepted | rejected) or decisions[] { result_id, decision }, idempotency_key?. Needs the reviews:write scope; the person behind the credential needs the edit permission in the workspace. Safe to retry: repeating the same call returns the first result and never applies it twice (pass idempotency_key to choose the key).
- Returns: the decision outcome.
Availability
Listed when your role can review extracted values. Being listed only means the tool is visible: Talonic checks your role again on every call.
Behaviour and cost
- Not read-only. It can add to or change workspace data.
Parameters
| Parameter | Type | Description |
|---|---|---|
| run_id * | string | — |
| result_id | string | — |
| decision | "accepted" | "rejected" | — |
| decisions | object[] | — |
| idempotency_key | string | Optional Idempotency-Key; a retry with the same key returns the first result. |
Example
Tool input
{
"run_id": "<run_id>"
}Errors
A failed call comes back as a tool error with the HTTP status and a message that says what to change. Troubleshooting lists the common ones.