Ask a question over the workspace
talonic_askAsk a natural-language question about your documents and receive a cited, verified answer in markdown. It plans over extracted data, runs read-only SQL, and grounds claims in source spans.
Instructions
Ask a natural-language question over the workspace's documents and get a cited, verified answer (markdown). The Talonic agent plans over the structured field plane, runs read-only SQL over extracted cells, reads document text, and grounds every load-bearing claim in a source span. Consumes credits.
USE WHEN: the user asks an open question about their documents ('which vendors invoiced us twice in May?'), wants a summary across documents, or the answer needs reasoning over several fields.
NOT FOR: reading a known field's values (talonic_field_values, free) or filtering documents by a known value (talonic_filter, free); locating which field holds a concept (talonic_find_data).
ARGS: question; optional scope { document_ids[], schema_id, pipeline_id, data_product_id, document_type, source_id, tags[], ingested_after, ingested_before } (ANDed), conversation_id (continue a thread), output_format { instruction, template }, wait_seconds (0–55, default 45).
RETURNS: { ask_id, status ('completed'|'processing'|'error'), conversation_id, answer (markdown), citations[] { quote, document_id, kind, filename, app_url }, verification { verdict, checks_total, checks_unsupported, correction }, usage { tokens, credits_charged }, tool_calls, artifacts[], waited_ms }. If status is still 'processing' after the wait, call talonic_get_answer with the ask_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Restrict the question to a slice of the workspace; present fields are ANDed. | |
| question | Yes | The question, in the user's words. | |
| wait_seconds | No | Seconds to wait for the answer before returning 'processing' (default 45, max 55). | |
| output_format | No | Shape the answer (form only, never grounding). | |
| conversation_id | No | Continue this conversation; the agent sees prior turns. |