Skip to main content

Cancel job run

Action ID: tools.databricks.cancel_run Cancel a job run asynchronously. Reference: https://databricks-sdk-py.readthedocs.io/en/latest/workspace/jobs/jobs.html#databricks.sdk.service.jobs.JobsExt.cancel_run

Input fields

integer
required
Canonical identifier of the run to cancel.
string | null
Databricks workspace URL.Default: null.

Cancel SQL statement

Action ID: tools.databricks.cancel_statement Cancel execution of a SQL statement. Reference: https://databricks-sdk-py.readthedocs.io/en/latest/workspace/sql/statement_execution.html#databricks.sdk.service.sql.StatementExecutionAPI.cancel_execution

Input fields

string
required
Identifier of the SQL statement to cancel.
string | null
Databricks workspace URL.Default: null.

Execute SQL statement

Action ID: tools.databricks.execute_statement Execute a SQL statement on a Databricks SQL warehouse. Reference: https://databricks-sdk-py.readthedocs.io/en/latest/workspace/sql/statement_execution.html#databricks.sdk.service.sql.StatementExecutionAPI.execute_statement

Input fields

string
required
SQL statement to execute.
string
required
Identifier of the SQL warehouse.
string | null
Databricks workspace URL.Default: null.
integer | null
Maximum number of result bytes to return inline.Default: null.
string | null
Default catalog for statement execution.Default: null.
integer | null
Maximum number of result rows to return inline.Default: null.
string | null
Default schema for statement execution.Default: null.
string | null
Time to wait for a result, from 0s through 50s.Default: null.

Get cluster

Action ID: tools.databricks.get_cluster Retrieve information for a cluster by identifier. Reference: https://databricks-sdk-py.readthedocs.io/en/latest/workspace/compute/clusters.html#databricks.sdk.service.compute.ClustersExt.get

Input fields

string
required
Cluster about which to retrieve information.
string | null
Databricks workspace URL.Default: null.

Get job

Action ID: tools.databricks.get_job Retrieve a single job by identifier. Reference: https://databricks-sdk-py.readthedocs.io/en/latest/workspace/jobs/jobs.html#databricks.sdk.service.jobs.JobsExt.get

Input fields

integer
required
Canonical identifier of the job.
string | null
Databricks workspace URL.Default: null.
boolean | null
Whether to include trigger state in the response.Default: null.
string | null
Token for a subsequent page of job arrays.Default: null.

Get job run

Action ID: tools.databricks.get_run Retrieve metadata for a job run. Reference: https://databricks-sdk-py.readthedocs.io/en/latest/workspace/jobs/jobs.html#databricks.sdk.service.jobs.JobsExt.get_run

Input fields

integer
required
Canonical identifier of the run.
string | null
Databricks workspace URL.Default: null.
boolean | null
Whether to include the repair history in the response.Default: null.
boolean | null
Whether to include resolved parameter values.Default: null.
string | null
Token for a subsequent page of run arrays.Default: null.

Get SQL statement

Action ID: tools.databricks.get_statement Retrieve the status and result of a SQL statement. Reference: https://databricks-sdk-py.readthedocs.io/en/latest/workspace/sql/statement_execution.html#databricks.sdk.service.sql.StatementExecutionAPI.get_statement

Input fields

string
required
Identifier of the SQL statement.
string | null
Databricks workspace URL.Default: null.

Get SQL warehouse

Action ID: tools.databricks.get_warehouse Retrieve information about a SQL warehouse. Reference: https://databricks-sdk-py.readthedocs.io/en/latest/workspace/sql/warehouses.html#databricks.sdk.service.sql.WarehousesAPI.get

Input fields

string
required
Identifier of the SQL warehouse.
string | null
Databricks workspace URL.Default: null.

List clusters

Action ID: tools.databricks.list_clusters Return pinned and active clusters and recently terminated clusters. Reference: https://databricks-sdk-py.readthedocs.io/en/latest/workspace/compute/clusters.html#databricks.sdk.service.compute.ClustersExt.list

Input fields

string | null
Databricks workspace URL.Default: null.
integer
Maximum number of clusters to return across SDK pages.Default: 1000.
integer | null
Maximum number of results for each server response.Default: null.
string | null
Token from a previous response for the next or previous page.Default: null.

List job runs

Action ID: tools.databricks.list_runs List job runs in descending start-time order. Reference: https://databricks-sdk-py.readthedocs.io/en/latest/workspace/jobs/jobs.html#databricks.sdk.service.jobs.JobsExt.list_runs

Input fields

boolean | null
Whether to include only active runs.Default: null.
string | null
Databricks workspace URL.Default: null.
boolean | null
Whether to include only completed runs.Default: null.
boolean | null
Whether to include task and cluster details.Default: null.
integer | null
Job identifier used to filter runs.Default: null.
integer | null
Number of runs returned per server page.Default: null.
integer
Maximum number of runs to return across SDK pages.Default: 1000.
string | null
Token for a subsequent page.Default: null.
integer | null
Earliest run start time in epoch milliseconds.Default: null.
integer | null
Latest run start time in epoch milliseconds.Default: null.

List jobs

Action ID: tools.databricks.list_jobs Retrieve jobs visible to the authenticated identity. Reference: https://databricks-sdk-py.readthedocs.io/en/latest/workspace/jobs/jobs.html#databricks.sdk.service.jobs.JobsExt.list

Input fields

string | null
Databricks workspace URL.Default: null.
boolean | null
Whether to include task and cluster details in each job.Default: null.
integer | null
Number of jobs returned per server page.Default: null.
integer
Maximum number of jobs to return across SDK pages.Default: 1000.
string | null
Filter jobs by a case-insensitive name match.Default: null.
string | null
Token for a subsequent page.Default: null.

List SQL warehouses

Action ID: tools.databricks.list_warehouses List SQL warehouses in the workspace. Reference: https://databricks-sdk-py.readthedocs.io/en/latest/workspace/sql/warehouses.html#databricks.sdk.service.sql.WarehousesAPI.list

Input fields

string | null
Databricks workspace URL.Default: null.
integer
Maximum number of warehouses to return across SDK pages.Default: 1000.
integer | null
Maximum number of warehouses returned per server page.Default: null.
string | null
Token for a subsequent page.Default: null.

Run job

Action ID: tools.databricks.run_job Start a run of an existing job. Reference: https://databricks-sdk-py.readthedocs.io/en/latest/workspace/jobs/jobs.html#databricks.sdk.service.jobs.JobsExt.run_now

Input fields

integer
required
Identifier of the job to run.
string | null
Databricks workspace URL.Default: null.
string | null
Token used to guarantee idempotency of the run request.Default: null.
map[string, string] | null
Job-level parameter values for the run.Default: null.
map[string, string] | null
Parameters to pass to notebook tasks.Default: null.
map[string, string] | null
Named parameters to pass to Python wheel tasks.Default: null.
array[string] | null
Parameters to pass to Python tasks.Default: null.
map[string, string] | null
Parameters to pass to SQL tasks.Default: null.

Start cluster

Action ID: tools.databricks.start_cluster Start a terminated all-purpose cluster. Reference: https://databricks-sdk-py.readthedocs.io/en/latest/workspace/compute/clusters.html#databricks.sdk.service.compute.ClustersExt.start

Input fields

string
required
Cluster to start.
string | null
Databricks workspace URL.Default: null.

Start SQL warehouse

Action ID: tools.databricks.start_warehouse Start a SQL warehouse. Reference: https://databricks-sdk-py.readthedocs.io/en/latest/workspace/sql/warehouses.html#databricks.sdk.service.sql.WarehousesAPI.start

Input fields

string
required
Identifier of the SQL warehouse to start.
string | null
Databricks workspace URL.Default: null.

Stop SQL warehouse

Action ID: tools.databricks.stop_warehouse Stop a SQL warehouse. Reference: https://databricks-sdk-py.readthedocs.io/en/latest/workspace/sql/warehouses.html#databricks.sdk.service.sql.WarehousesAPI.stop

Input fields

string
required
Identifier of the SQL warehouse to stop.
string | null
Databricks workspace URL.Default: null.

Terminate cluster

Action ID: tools.databricks.terminate_cluster Terminate a cluster asynchronously. Reference: https://databricks-sdk-py.readthedocs.io/en/latest/workspace/compute/clusters.html#databricks.sdk.service.compute.ClustersExt.delete

Input fields

string
required
Cluster to terminate.
string | null
Databricks workspace URL.Default: null.