Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Update SQL Query Visualization
DATABRICKS_SQL_QUERY_VISUALIZATIONS_UPDATETool to update an existing Databricks SQL query visualization using partial update with field mask. Use when you need to modify visualization properties. Only two fields are updatable: display_name (the name shown in UI) and type (TABLE, CHART, COUNTER, FUNNEL, or PIVOT). The visualization type can be changed to reorganize how query results are displayed.
Get Redash V2 Config
DATABRICKS_SQL_REDASH_CONFIG_GET_CONFIGTool to retrieve workspace configuration for Redash V2 in Databricks SQL. Use when you need to get Redash configuration settings for the current workspace.
Cancel SQL Statement Execution
DATABRICKS_SQL_STATEMENT_EXEC_CANCEL_EXECTool to cancel an executing SQL statement on a Databricks warehouse. Use when you need to terminate a running SQL query. The response indicates successful receipt of the cancel request, but does not guarantee cancellation. Callers must poll the statement status to confirm the terminal state (CANCELED, SUCCEEDED, FAILED, or CLOSED).
Execute SQL Statement
DATABRICKS_SQL_STATEMENT_EXEC_EXECUTE_STATEMENTExecute a SQL statement on a Databricks SQL warehouse. The response includes execution status and may include results or a statement_id for polling; for large result sets, use disposition=EXTERNAL_LINKS and fetch chunks separately.
Get SQL Statement Result Chunk
DATABRICKS_SQL_STATEMENT_EXEC_GET_RESULT_CHUNKGet a specific chunk of results from a SQL statement execution. Use this to paginate through large result sets. The chunk_index is zero-based. Use the manifest from the execute_statement or get_statement response to determine the total number of chunks available.
Get SQL Statement Status
DATABRICKS_SQL_STATEMENT_EXEC_GET_STATEMENTGet the status, manifest, and first chunk of results for a SQL statement execution. Use this to poll for completion after executing a statement asynchronously. The statement result is available for one hour after completion. Returns HTTP 404 if the statement has been in a terminal state for more than 12 hours.
Delete SQL Warehouse
DATABRICKS_SQL_WAREHOUSES_DELETEDeletes a SQL warehouse from the Databricks workspace. Use this tool to permanently remove a SQL warehouse (compute resource) that is no longer needed. The warehouse must exist and you must have appropriate permissions to delete it. Important notes: - Deleted warehouses may be restored within 14 days by contacting Databricks support - The operation is idempotent - deleting an already deleted warehouse will succeed - This is a destructive operation and cannot be undone through the API
Edit SQL Warehouse
DATABRICKS_SQL_WAREHOUSES_EDITTool to update the configuration of an existing SQL warehouse. Use when you need to modify warehouse settings like cluster size, scaling parameters, auto-stop behavior, or enable features like Photon acceleration and serverless compute. The warehouse is identified by its ID, and you can update various properties including resource allocation and performance optimizations.
Get SQL Warehouse Details
DATABRICKS_SQL_WAREHOUSES_GETTool to retrieve detailed information about a specific SQL warehouse by its ID. Use when you need to get configuration, state, connection details, and resource allocation for a SQL warehouse. Returns comprehensive warehouse information including cluster settings, JDBC/ODBC connection strings, and health status.
Get SQL Warehouse Permission Levels
DATABRICKS_SQL_WAREHOUSES_GET_PERMISSION_LEVELSTool to retrieve available permission levels for a Databricks SQL warehouse. Use when you need to understand what permission levels can be assigned to users, groups, or service principals for a specific SQL warehouse. Returns permission levels like CAN_USE, CAN_MANAGE, IS_OWNER, CAN_VIEW, and CAN_MONITOR with their descriptions.
Get SQL Warehouse Permissions
DATABRICKS_SQL_WAREHOUSES_GET_PERMISSIONSTool to retrieve permissions for a Databricks SQL warehouse. Use when you need to check who has access to a specific SQL warehouse and their permission levels. Returns the access control list with user, group, and service principal permissions, including inherited permissions from parent objects.
Get Workspace Warehouse Config
DATABRICKS_SQL_WAREHOUSES_GET_WORKSPACE_WAREHOUSE_CONFIGTool to retrieve workspace-level SQL warehouse configuration settings. Use when you need to check security policies, serverless compute settings, channel versions, or warehouse type restrictions that apply to all SQL warehouses in the workspace.
Set SQL Warehouse Permissions
DATABRICKS_SQL_WAREHOUSES_SET_PERMISSIONSTool to set permissions for a Databricks SQL warehouse, replacing all existing permissions. Use when you need to configure access control for a SQL warehouse. This operation is authoritative and overwrites all existing permissions. Exactly one IS_OWNER must be specified. Groups cannot have IS_OWNER permission.
Set Workspace Warehouse Config
DATABRICKS_SQL_WAREHOUSES_SET_WORKSPACE_WAREHOUSE_CONFIGTool to configure workspace-level SQL warehouse settings shared by all SQL warehouses. Use when you need to set security policies, enable serverless compute, configure channel versions, or manage warehouse type restrictions across the workspace.
Start SQL Warehouse
DATABRICKS_SQL_WAREHOUSES_STARTTool to start a stopped Databricks SQL warehouse asynchronously. Use when you need to restart a stopped warehouse. The warehouse transitions through STARTING state before reaching RUNNING. Requires CAN MONITOR permissions or higher.
Update SQL Warehouse Permissions
DATABRICKS_SQL_WAREHOUSES_UPDATE_PERMISSIONSTool to incrementally update permissions for a Databricks SQL warehouse. Use when you need to modify specific permissions without replacing the entire permission set. This PATCH operation updates only the specified permissions, preserving existing permissions not included in the request. For replacing all permissions, use SetPermissions instead.
Submit One-Time Run
DATABRICKS_SUBMIT_RUNTool to submit a one-time run without creating a job. Use when you need to execute a task directly without saving it as a job definition. After submission, use the jobs/runs/get API with the returned run_id to check the run state and monitor progress.
Create Tag Policy
DATABRICKS_TAGS_TAG_POLICIES_CREATE_TAG_POLICYCreate a Databricks tag policy (governed tag) with an optional description and allowed values. Requires appropriate account-level permissions; an account can have up to 1,000 governed tags, each with up to 50 allowed values.
Delete Tag Policy
DATABRICKS_TAGS_TAG_POLICIES_DELETE_TAG_POLICYTool to delete a tag policy by its key, making the tag ungoverned. Use when you need to remove governance from a tag without deleting the tag itself. Requires MANAGE permission on the governed tag. System governed tags cannot be deleted.
Get Tag Policy
DATABRICKS_TAGS_TAG_POLICIES_GET_TAG_POLICYTool to retrieve a specific tag policy by its associated governed tag's key. Use when you need to get details about tag governance policies including allowed values and metadata.