Skip to main content

talonic_review_recommend

Leave a recommendation on an item the person behind the credential may not decide (a field marked complex), for a reviewer who can. The value does not change.

How an agent uses it

  • Use it when: talonic_review_resolve was refused for a complex field.
  • Arguments: pipeline_document_id, field_key, recommended_action (approve | correct), corrected_value?, reason, 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 recommendation.

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.
recommended_action *"approve" | "correct"—
corrected_valuestring—
reason *string—
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>",
  "recommended_action": "approve",
  "reason": "<reason>"
}

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.