Skip to main content

talonic_field_values

Read a field's CURRENT VALUES across documents, with evidence: one row per value, with the document id, filename and type, the value, its confidence, the label it appeared under in the document, the exact source text, and how the label was matched to this field (resolved_by).

How an agent uses it

  • Use it when: the user asks 'what are all the X across my documents', you need to tabulate or total one field across all documents, or you want the evidence (source text + document) behind a value.
  • Not for: multi-field row-shaped queries over documents (talonic_filter) or one document's full field set (talonic_get_document).
  • Arguments: exactly one of field_id or name; optional document_id (one document), value (case-insensitive contains filter), limit (max 100), cursor.
  • Returns: { field_id, canonical_name, concept_ids, data[] of { occurrence_id, document_id, document_filename, value, confidence, provenance{ raw_field_name, source_text, resolved_by, needs_confirmation, via_redirect }, links }, pagination }. Only rows from documents the caller may see are returned.

Availability

Listed in every Talonic MCP session, local or hosted.

Behaviour and cost

  • Reads only. It never changes workspace data.
  • Cost: no credits.

Parameters

ParameterTypeDescription
field_idstringField UUID (from talonic_list_fields / talonic_search).
namestringField NAME instead of an id — matched against the field's name, other spellings and synonyms, including fields that were merged into it. Use the user's wording ('Invoice No', 'Vertragsnummer').
document_idstringOnly occurrences on this document.
valuestringCase-insensitive contains filter on the value text.
limitintegerPage size (default 20, max 100). Range: 1 to 100.
cursorstringOpaque cursor from pagination.next_cursor.

Example

Tool input
{ "name": "invoice_number", "value": "2026", "limit": 2 }
Tool response
{
  "field_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "canonical_name": "invoice_number",
  "concept_ids": ["a1b2c3d4-e5f6-7890-abcd-ef1234567890"],
  "data": [
    {
      "occurrence_id": "0f1e2d3c-…",
      "document_id": "f0e1d2c3-…",
      "document_filename": "RE-2026-0142.pdf",
      "document_type": "invoice",
      "value": "INV-2026-0142",
      "confidence": 0.97,
      "provenance": { "raw_field_name": "Rechnungsnummer", "source_text": "Rechnungsnummer: INV-2026-0142", "resolved_by": "exact", "needs_confirmation": false, "via_redirect": false },
      "links": { "document": "/v1/documents/f0e1…", "document_fields": "/v1/documents/f0e1…/fields" }
    }
  ],
  "pagination": { "total": 37, "limit": 2, "has_more": true, "next_cursor": "MGYx…" }
}

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.

Frequently asked questions

Are the values filtered by the caller's document visibility?+
Yes. Only values from documents you are allowed to see come back, and pagination.total counts only those.