get_namespaces
Retrieve namespaces for a specified branch or commit from the Bauplan data catalog. Optionally filter by namespace name substring and limit the number of results.
Instructions
Retrieve namespaces for a branch from the user's Bauplan data catalog as a list. Use 'limit' (integer) to reduce response size. Get the namespaces of a branch using optional filters.
Args: ref: branch or commit hash to get namespaces from. 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 filter for namespace names (substring match) limit: Optional maximum number of namespaces to return (default: 10)
Returns: NamespacesOut: Object containing list of namespaces and total count
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>"
},
"name": "get_namespaces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| namespace | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespaces | Yes | ||
| total_count | Yes |