list_files
Lists queryable CSV, TSV, Parquet, JSON, and NDJSON files with relative paths, types, and sizes, optionally filtered by pattern, so you can reference them directly in SQL.
Instructions
List the data files you can query (CSV, TSV, Parquet, JSON, NDJSON, optionally .gz).
Shows each file's path relative to its allowed folder, its type and size. Use this
first: those paths can be used directly in SQL, e.g. SELECT * FROM 'sales.csv'.
Optional pattern is a case-insensitive glob on the path, e.g. '2024' or 'logs/*.json'.
At most 500 files are shown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |