td_list_tables
List tables in a Treasure Data database to explore data structure and find datasets. Shows table names or detailed schemas, sizes, and record counts for data discovery and query planning.
Instructions
List tables in a database to explore data structure and find datasets.
Shows all tables within a specific database. Returns table names for quick
scanning, or set verbose=True for schemas, sizes, and record counts.
Common scenarios:
- Explore available data in a database
- Find specific tables by scanning names
- Check table schemas before writing queries
- Audit table sizes and record counts
- Verify table exists before querying
Supports pagination (limit/offset) or all_results=True for complete list.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
all_results | No | ||
database_name | Yes | ||
limit | No | ||
offset | No | ||
verbose | No |
Input Schema (JSON Schema)
{
"properties": {
"all_results": {
"default": false,
"title": "All Results",
"type": "boolean"
},
"database_name": {
"title": "Database Name",
"type": "string"
},
"limit": {
"default": 30,
"title": "Limit",
"type": "integer"
},
"offset": {
"default": 0,
"title": "Offset",
"type": "integer"
},
"verbose": {
"default": false,
"title": "Verbose",
"type": "boolean"
}
},
"required": [
"database_name"
],
"type": "object"
}