Skip to main content

talonic_review_choose_value

Record the value to keep for one field of an approval decision, from a source (source_pick) or typed (free_text).

How an agent uses it

  • Arguments: decision_id, field_name, canonical_value, selection_method, source_values[] { source_label, value, source_text, document_id }, validation_run_id?, data_product_id?, 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 recorded selection.

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
decision_id *string—
field_name *string—
canonical_value *string—
selection_method *"source_pick" | "free_text"—
source_values *object[]—
validation_run_idstring—
data_product_idstring—
idempotency_keystringOptional Idempotency-Key; a retry with the same key returns the first result.

Example

Tool input
{
  "decision_id": "<decision_id>",
  "field_name": "<field_name>",
  "canonical_value": "<canonical_value>",
  "selection_method": "source_pick",
  "source_values": [
    "<source_value>"
  ]
}

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.