list_tables
List all data tables in a given branch or commit reference to verify available tables before writing queries.
Instructions
Retrieve a list of all data tables in a specified branch or reference of the user's Bauplan data catalog using a ref name.
Args: ref: a reference to a commit that is a state of the user data lake: can be either a hash that starts with "@" and has 64 additional characters or a branch name, that is a mnemonic reference to the last commit that follows the "username.name" format. namespace: Optional namespace to use.
IMPORTANT: Always use this tool BEFORE generating code with generate_code to ensure you're referencing tables that actually exist.
Returns: TablesOut: object with list of table names
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| namespace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tables | Yes | ||
| ref | Yes | ||
| namespace | No |