get_branches
List branches from the Bauplan data catalog. Optionally filter by name or user, and set a limit to control response size.
Instructions
Retrieve branches from the user's Bauplan data catalog as a list, with optional user and limit (integer) filters to reduce response size. Get branches from the Bauplan catalog with optional filtering. NOTE: This can return a large response. Always use limit parameter.
Args: name: Optional filter to get branches by name (substring match) user: Optional filter to get branches by user limit: Maximum number of branches to return (needs to be an integer, default 10)
Returns: BranchesOut: Object containing list of branches with their names and hashes
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_branches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| user | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branches | Yes | ||
| total_count | Yes |