Apps & Lakebase
Deploy Databricks Apps, manage Knowledge Assistants and Supervisor Agents, and configure Lakebase databases.
Example prompts
Section titled “Example prompts”“Deploy my Streamlit app from the workspace folder”
“Create a Lakebase database for my project with autoscaling”
“Set up a Knowledge Assistant backed by my documentation index”
generate_lakebase_credential
Section titled “generate_lakebase_credential”Description: Generate OAuth token (~1hr) for Lakebase connection. Use as password with sslmode=require.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
instance_names | Optional[List[str]] | No | — |
endpoint | Optional[str] | No | — |
manage_app
Section titled “manage_app”Description: Manage Databricks Apps: create, deploy, get, list, delete.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
action | str | Yes | — |
name | Optional[str] | No | — |
source_code_path | Optional[str] | No | — |
description | Optional[str] | No | — |
mode | Optional[str] | No | — |
include_logs | bool | No | — |
deployment_id | Optional[str] | No | — |
name_contains | Optional[str] | No | — |
manage_ka
Section titled “manage_ka”Description: Manage Knowledge Assistant (KA) - RAG-based document Q&A.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
action | str | Yes | — |
name | str | No | — |
volume_path | str | No | — |
description | str | No | — |
instructions | str | No | — |
tile_id | str | No | — |
add_examples_from_volume | bool | No | — |
manage_lakebase_branch
Section titled “manage_lakebase_branch”Description: Manage Autoscale branches: create, update, delete.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
action | str | Yes | — |
project_name | Optional[str] | No | — |
branch_id | Optional[str] | No | — |
source_branch | Optional[str] | No | — |
ttl_seconds | Optional[int] | No | — |
no_expiry | bool | No | — |
is_protected | Optional[bool] | No | — |
endpoint_type | str | No | — |
autoscaling_limit_min_cu | Optional[float] | No | — |
autoscaling_limit_max_cu | Optional[float] | No | — |
scale_to_zero_seconds | Optional[int] | No | — |
name | Optional[str] | No | — |
manage_lakebase_database
Section titled “manage_lakebase_database”Description: Manage Lakebase PostgreSQL databases: create, update, get, list, delete.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
action | str | Yes | — |
name | Optional[str] | No | — |
type | str | No | — |
capacity | str | No | — |
stopped | bool | No | — |
display_name | Optional[str] | No | — |
pg_version | str | No | — |
force | bool | No | — |
manage_lakebase_sync
Section titled “manage_lakebase_sync”Description: Manage Lakebase sync (reverse ETL): create, delete.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
action | str | Yes | — |
instance_name | Optional[str] | No | — |
source_table_name | Optional[str] | No | — |
target_table_name | Optional[str] | No | — |
catalog_name | Optional[str] | No | — |
database_name | str | No | — |
primary_key_columns | Optional[List[str]] | No | — |
scheduling_policy | str | No | — |
table_name | Optional[str] | No | — |
manage_mas
Section titled “manage_mas”Description: Manage Supervisor Agent (MAS) - orchestrates multiple agents for query routing.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
action | str | Yes | — |
name | str | No | — |
agents | List[Dict[str, str]] | No | — |
description | str | No | — |
instructions | str | No | — |
tile_id | str | No | — |
examples | List[Dict[str, str]] | No | — |