gulliver_inspect
Explore database catalog metadata before writing SQL to choose tables and columns: list the largest tables by rows and storage, or show a table's columns and data types.
Instructions
Explore a database before writing SQL: without table, list the biggest tables first (rows, bytes, partitioning, clustering), up to limit; with table, show its columns and types. Reads catalog metadata only, so it costs nothing (the one exception is scan_rows, which runs one budget-checked sample query per table). Use this to learn sizes and partition columns; use gulliver_preflight to price a specific query, gulliver_drift to see schema changes over time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max tables to list, biggest first. Ignored when table is given. | |
| table | No | Table to describe, e.g. 'events' or 'proj.ds.events' (qualify it when the name is ambiguous). Omit to list tables. | |
| scan_rows | No | With sensitive: also check this many rows of text values (one budget-gated query per table; values are not returned). | |
| sensitive | No | Only list columns that look like personal data or secrets, with the policy action (mask, hash, deny...). | |
| connection | No | Connection name as listed by gulliver_status (from gulliver.toml or GULLIVER_DSN). Omit for the default connection. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| next_step | Yes |