Skip to main content
Use Tabular Analysis when you want the assistant to perform calculations over tabular data (CSV, TSV, or tables extracted from documents).

Prerequisites

Requirements

  • Tool spec: { "name": "tabular_analysis", "type": "tabular_analysis_v1" }
  • tool_context: at least one ingested_artifact with a context_filter

Basic request and response

This example validates a request that enables tabular analysis over a collection:
Example response:
To run the request, send the same body to POST /messages.

Tips

  • Ensure the artifact content is a clean table (CSV/TSV is best).
  • Keep the table small enough for quick analysis.

Next steps

  • Ingest and manage artifacts: Artifacts
  • Learn how messages return tool blocks: Messages