get_table
Retrieve the schema of a specified table from your Bauplan data catalog using a branch or commit reference and table name.
Instructions
Retrieve the schema of a specified data table in the user's Bauplan data catalog using a table name, returning a schema object.
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. table_name: Name of the specific table to get schema for. namespace: Optional namespace to use (defaults to "bauplan").
Returns: TableOut: Schema object with table fields for the specified table
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ref": "<ref>",
"table_name": "<table_name>"
},
"name": "get_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| table_name | Yes | ||
| namespace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes |