list_catalogs
Retrieve all available catalogs from Databricks SQL to organize and access data resources.
Instructions
List all catalogs
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- tools/query.py:39-42 (handler)The `list_catalogs` function is defined and decorated as an MCP tool, executing "SHOW CATALOGS" via `execute_sql`.
@mcp.tool def list_catalogs(ctx: Context) -> List[Dict[str, Any]]: """List all catalogs""" return execute_sql(ctx, "SHOW CATALOGS")