Skip to main content

talonic_pipeline_resolve_anchor

Settle one group by choosing its base document; the group is assembled again around it. Take group_key and a candidate's documentId from talonic_pipeline_needs_anchor. Needs the reviews:write scope and the edit permission.

How an agent uses it

  • Returns: { group_key, status, product_record_id }. 400 when the Spec does not assemble documents.
  • A 403 names its reason (insufficient_scope, insufficient_role, no_person, person_inactive, workspace_read_only): the key's person must be allowed the same action in the Talonic web app, and an OAuth connection must have granted the scope. Tell the user; do not retry.

Availability

Listed per area (Spec runs, ingest, ingest settings, document organising, collections, saved filters, document types) when your role can use that area of the workspace. 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_id *stringThe Spec run's pipeline_id, from talonic_run_spec or talonic_get_run.
group_key *stringThe group, from talonic_pipeline_needs_anchor.
anchor_document_id *stringThe chosen candidate's `documentId`.

Example

Tool input
{
  "pipeline_id": "<pipeline_id>",
  "group_key": "<group_key>",
  "anchor_document_id": "<anchor_document_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.