What is Auto-DuckDB?#
Some MCP tools return more data than fits comfortably in a single model context window. Auto-DuckDB is a Toolbelt feature that intercepts those oversized tool outputs, loads them into a DuckDB database, and uses the model to infer a sensible schema. Your assistant can then run SQL against the full result set instead of working from a truncated sample.
Auto-DuckDB is about analyzing large structured outputs (for example, big JSON or tabular results). It complements Organization Storage and the Dashboard SDK, which handle files and custom HTML dashboards respectively.
How it works#
- A connected tool returns output that would exceed safe context limits.
- Toolbelt materializes that data into DuckDB with an AI-generated schema that matches the shape of the data.
- The assistant writes and runs SQL (for example, filters, aggregations, and joins) to explore the data and answer your questions.
You get the full dataset in a queryable form, not a lossy summary forced into a small context window.
Why it matters#
- No silent truncation — the assistant works against the real data volume.
- Familiar interface — SQL is a stable way to slice large results.
- Repeatable analysis — the same materialized data can support follow-up questions without re-fetching everything from scratch.
Limitations#
Behavior and limits (maximum rows, storage duration, and which tool types are eligible) may evolve with the product. If something does not materialize as expected, check the assistant run logs and your organization’s connected tools.
