Genie spaces
manage_genieCreate, update, inspect, or delete AI/BI Genie spaces for natural-language-to-SQL over Unity Catalog tables, and manage their conversations and messages.
Instructions
Manage AI/BI Genie spaces (natural-language-to-SQL over Unity Catalog tables).
Actions:
list / get (include_serialized_space for the full definition).
create: spec = {warehouse_id, serialized_space (JSON string or object), title, description, parent_path}. Tip: get an existing space with include_serialized_space=true to see the serialized_space format.
update: spec with any of title, description, warehouse_id, parent_path, serialized_space (full replacement), etag.
delete: move the space to trash (requires confirm).
list_conversations / list_messages (conversation_id) / delete_conversation (requires confirm). Use ask_genie to ask questions.
Safety classification: list, get, list_conversations, list_messages = READ_ONLY; create, update = WRITE; delete, delete_conversation = DESTRUCTIVE.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | No | Request body fields for create/update, using the Databricks REST API field names (snake_case). Unknown fields are rejected. | |
| action | Yes | Operation to perform. | |
| confirm | No | Set to true ONLY after the user has reviewed the plan returned by a previous call with status 'confirmation_required'. Required for destructive/security-sensitive actions. | |
| dry_run | No | If true, validate and return the planned change without executing it. | |
| space_id | No | Genie space id (all actions except list/create). | |
| page_size | No | Max items to return (server caps this). | |
| page_token | No | next_page_token from a previous response. | |
| include_all | No | list_conversations: include all users' conversations (requires CAN MANAGE). | |
| conversation_id | No | Conversation id for list_messages/delete_conversation. | |
| include_serialized_space | No | get: include the serialized space definition (requires CAN EDIT). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| page | No | ||
| plan | No | ||
| tool | Yes | ||
| action | No | ||
| safety | No | ||
| status | No | success | |
| summary | Yes | ||
| warnings | No | ||
| next_steps | No | Suggested follow-up calls. | |
| request_id | No |