Weavz
Databricks

Databricks

Databricks workspace integration for SQL Statement Execution API 2.0, Jobs API 2.2, Unity Catalog API 2.1, and Workspace API 2.0.

23 tools
2 triggers
Use withChatGPTClaudeClaude CodeCursorCodexMCP clientsSetup guide

Tools

Name
validate_connection

Validate credentials with a low-impact Databricks Workspace API 2.0 get-status request on the workspace root.

execute_sql_statement

Execute a Databricks SQL Statement Execution API 2.0 request against a SQL warehouse. SQL is read-only by default so agents do not mutate data unless explicitly allowed.

get_sql_statement

Get status, manifest, and the first result chunk for a Databricks SQL Statement Execution API 2.0 statement.

get_sql_result_chunk

Fetch a specific result chunk from a completed Databricks SQL Statement Execution API 2.0 statement.

cancel_sql_statement

Cancel a running Databricks SQL Statement Execution API 2.0 statement and poll get_sql_statement for the terminal state.

list_jobs

List Databricks Jobs API 2.2 jobs visible to the token, with pagination fields preserved for agents.

get_job

Get a single Databricks Jobs API 2.2 job definition by job_id.

run_job_now

Trigger an existing Databricks job with Jobs API 2.2 run-now and return the run_id. Requires explicit confirmation so agents do not start compute accidentally.

cancel_job_run

Cancel a Databricks Jobs API 2.2 job run or task run. Requires explicit confirmation because cancellation changes run state.

list_job_runs

List Databricks Jobs API 2.2 runs in descending start-time order for monitoring and pagination.

get_job_run

Get Databricks Jobs API 2.2 run metadata for a job run or task run.

get_job_run_output

Retrieve output and metadata for a single Databricks Jobs API 2.2 task run. Databricks returns only the first 5 MB of notebook output and logs.

list_catalogs

List Unity Catalog catalogs using Databricks Unity Catalog API 2.1.

get_catalog

Get one Unity Catalog catalog by name using Databricks Unity Catalog API 2.1.

list_schemas

List schemas under a Unity Catalog catalog using Databricks Unity Catalog API 2.1.

get_schema

Get a Unity Catalog schema by full name, for example main.default.

list_tables

List tables and views under a Unity Catalog schema using Databricks Unity Catalog API 2.1.

get_table

Get a Unity Catalog table or view by full name, for example main.default.orders.

list_table_summaries

List compact Unity Catalog table summaries using Databricks Unity Catalog API 2.1.

list_workspace_objects

List notebooks, directories, repos, and files under a workspace path using Databricks Workspace API 2.0.

get_workspace_object_status

Get metadata for one workspace object with Databricks Workspace API 2.0 get-status.

export_workspace_object

Export a Databricks workspace notebook or file with Workspace API 2.0. Direct downloads are returned as base64 content.

custom_api_call

Call a Databricks REST API path on the configured workspace. Only relative /api/... paths are allowed; auth and headers are fixed by the connection.

Triggers

Name
job_run_state_changed

Triggers when a Databricks Jobs API run state changes.

latest_job_run_finished

Triggers when a Databricks job has a newly completed run.

Quick Start

TypeScript
import { WeavzClient } from '@weavz-io/sdk'

const weavz = new WeavzClient({ apiKey: 'wvz_...' })

const result = await weavz.actions.execute('databricks', 'validate_connection', {
  workspaceId: '550e8400-e29b-41d4-a716-446655440000',
  integrationAlias: 'databricks',
  input: { /* ... */ },
})

Related Integrations

Works well with

Frequently Asked Questions

How do I connect Databricks to my app?

Use Weavz Hosted Connect for Custom authentication. Install the SDK, create a connection through the connect portal or API, then execute tools programmatically.

What tools does Databricks support?

Databricks supports 23 tools including Validate Connection, Execute SQL Statement, Get SQL Statement, Get SQL Result Chunk, Cancel SQL Statement, and more.

Can I use Databricks with AI agents?

Yes. Add Databricks to an MCP server in Tool Mode or Code Mode. Code Mode provides 3 meta-tools with on-demand API discovery so agents can compose stateful workflows without loading every action schema up front.

How do I connect Databricks to ChatGPT or Claude?

Open the Weavz connector setup, sign in, choose a workspace, and add Databricks as an approved app. ChatGPT, Claude, and other remote MCP clients can then call the scoped Databricks tools exposed by that workspace.

Does Databricks work with Claude Code, Cursor, Codex, and local agents?

Yes. Remote and local MCP clients can connect to a Weavz MCP endpoint for the workspace. Local coding agents can also use the Weavz CLI to inspect apps, discover actions, run approved Databricks work, and execute Code Mode workflows from a terminal.

What can I ask an AI agent to do with Databricks?

Databricks exposes 23 tools, including Validate Connection, Execute SQL Statement, Get SQL Statement, Get SQL Result Chunk, Cancel SQL Statement, and more. Use Weavz to keep credentials scoped, require approval for sensitive work, and audit what the agent did.

Can Databricks be used in stateful agent workflows?

Yes. Agents can combine Databricks tools with Filesystem, State KV, Human Gates, input partials, and other workspace integrations while keeping execution scoped to the selected workspace or end user.

What authentication does Databricks use?

Databricks uses Custom. Weavz stores credentials securely and uses them for authorized action execution.

How much does the Databricks integration cost?

The Databricks integration is included on all Weavz plans including the free tier with 20,000 actions per month. No credit card required.

What triggers does Databricks support?

Databricks supports 2 triggers including Job Run State Changed, Latest Job Run Finished.

Connect Databricks in minutes

Get 20,000 free action executions every month. No credit card required.