Skip to main content

talonic_review_resolve

Decide a held value: approve keeps it, correct or override promotes corrected_value, accept_proposal promotes a proposed correction. The field then continues its processing; the decision is logged.

How an agent uses it

  • Use it when: you inspected the item and know the right value. Give evidence_quote (verbatim text from the cited document) with document_id when correcting.
  • Not for: a field that is not in review (talonic_review_propose_correction); a field you may not decide (talonic_review_recommend).
  • Arguments: pipeline_document_id, field_key, action, corrected_value?, reason?, clear_value?, evidence_quote?, document_id?, reopen? (revise an earlier 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 field's new state.

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

ParameterTypeDescription
pipeline_document_id *stringThe pipeline_document_id of a review item (from talonic_review_list or talonic_review_claim).
field_key *stringThe field_key of the review item.
action *"approve" | "correct" | "override" | "accept_proposal"—
corrected_valuestring—
reasonstring—
clear_valuebooleanWith correct: clear the field instead.
evidence_quotestringVerbatim passage from document_id supporting the value.
document_idstringThe workspace document the evidence_quote is from.
reopenboolean—
idempotency_keystringOptional Idempotency-Key; a retry with the same key returns the first result.

Example

Tool input
{
  "pipeline_document_id": "<pipeline_document_id>",
  "field_key": "<field_key>",
  "action": "approve"
}

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.