Skip to main content

talonic_find_data

Find where the data behind a concept lives before querying anything: turns a phrase ('payment volume per transaction', 'counterparty', 'Vertragslaufzeit') into the fields, values, documents and text passages that carry it, matching what it means as well as its words, even when the field has a different name.

How an agent uses it

  • Use it when: the user asks about a concept and you are not sure which field holds it, when talonic_list_fields / talonic_search came back empty or ambiguous, or when the answer may sit in a document's text rather than in a field. Pass account whenever the question names one portfolio company (an account from talonic_list_accounts), so another company's figures cannot come back.
  • Not for: reading a known field's values (talonic_field_values) or filtering by a known field (talonic_filter).
  • Arguments: query (the concept, in the user's words), optional concepts[] (several concepts resolved to fields in one call; fields only, no text search), top_k (1–25, default 10), document_ids (hard scope), account (one account by name or alias, e.g. 'Filu'; narrows like document_ids; an unknown name returns an error listing the accounts).
  • Returns: four ranked groups — FIELDS (canonical_name, field ids/keys, maturity, occurrence_count, sample values with their documents), VALUES, DOCUMENTS and PASSAGES — every item ready to pass to the next call. Read-only.

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
query *stringThe natural-language concept to locate.
conceptsstring[]Several concepts resolved to fields in one call (fields only, no text search).
top_kintegerMax results per group (default 10). Range: 1 to 25.
document_idsstring[]Restrict to these document ids (hard filter, enforced server-side).
accountstringOnly the documents of this account (portfolio company), by name or alias, e.g. 'Filu'.

Example

Tool input
{ "query": "revenue", "account": "Filu", "top_k": 5 }
Tool response
{
  "tool": "find_data",
  "result": {
    "fields": [{ "canonical_name": "contract_end_date", "field_key": "contract_end_date", "occurrence_count": 88, "samples": [{ "value": "2027-12-31", "document_id": "f0e1…" }] }],
    "documents": [{ "document_id": "f0e1…", "filename": "Supply-Agreement-2024.pdf", "score": 0.81 }],
    "passages": []
  },
  "citations": [{ "document_id": "f0e1…" }]
}

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

How is this different from talonic_search?+
talonic_search matches your words literally. talonic_find_data also matches what you mean, across fields and document text, and returns ids (fields, documents, passages) ready for the next call.