Databricks MCP Server for Cloudflare Workers
112 tools available in the Databricks MCP server. Each tool can be called by AI assistants to perform specific actions.
databricks_delete_secretDelete a secret.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"scope",
"key"
],
"properties": {
"key": {
"type": "string",
"description": "Secret key"
},
"scope": {
"type": "string",
"description": "Scope name"
}
}
}databricks_list_secret_aclsList ACLs for a secret scope.
Args:
Returns: List of ACLs.
{
"type": "object",
"required": [
"scope"
],
"properties": {
"scope": {
"type": "string",
"description": "Scope name"
}
}
}databricks_get_experiment_by_nameGet an MLflow experiment by name.
Args:
Returns: Experiment metadata.
{
"type": "object",
"required": [
"experimentName"
],
"properties": {
"experimentName": {
"type": "string",
"description": "Experiment name"
}
}
}databricks_list_schemasList all schemas in a catalog.
Args:
Returns: List of schemas.
{
"type": "object",
"required": [
"catalogName"
],
"properties": {
"catalogName": {
"type": "string",
"description": "Catalog name"
}
}
}databricks_get_clusterGet details of a specific cluster.
Args:
Returns: Cluster configuration and status.
{
"type": "object",
"required": [
"clusterId"
],
"properties": {
"clusterId": {
"type": "string",
"description": "Cluster ID"
}
}
}databricks_list_clustersList all clusters in the workspace.
Returns: List of clusters with their configuration and status.
{
"type": "object",
"properties": {}
}databricks_get_model_versionGet details of a model version.
Args:
Returns: Model version details.
{
"type": "object",
"required": [
"name",
"version"
],
"properties": {
"name": {
"type": "string",
"description": "Model name"
},
"version": {
"type": "string",
"description": "Version number"
}
}
}databricks_create_clusterCreate a new cluster.
Args:
Returns: Created cluster ID.
{
"type": "object",
"required": [
"clusterName",
"sparkVersion",
"nodeTypeId"
],
"properties": {
"maxWorkers": {
"type": "integer",
"minimum": 1,
"description": "Max workers for autoscale"
},
"minWorkers": {
"type": "integer",
"minimum": 0,
"description": "Min workers for autoscale"
},
"nodeTypeId": {
"type": "string",
"description": "Node type ID"
},
"numWorkers": {
"type": "integer",
"minimum": 0,
"description": "Number of workers"
},
"clusterName": {
"type": "string",
"description": "Cluster name"
},
"sparkVersion": {
"type": "string",
"description": "Spark version"
},
"autoterminationMinutes": {
"type": "integer",
"minimum": 0,
"description": "Auto-termination minutes"
}
}
}databricks_start_clusterStart a terminated cluster.
Args:
Returns: Confirmation that the cluster is starting.
{
"type": "object",
"required": [
"clusterId"
],
"properties": {
"clusterId": {
"type": "string",
"description": "Cluster ID"
}
}
}databricks_restart_clusterRestart a running cluster.
Args:
Returns: Confirmation that the cluster is restarting.
{
"type": "object",
"required": [
"clusterId"
],
"properties": {
"clusterId": {
"type": "string",
"description": "Cluster ID"
}
}
}databricks_terminate_clusterTerminate a running cluster.
The cluster configuration is preserved and can be restarted later.
Args:
Returns: Confirmation that the cluster is terminating.
{
"type": "object",
"required": [
"clusterId"
],
"properties": {
"clusterId": {
"type": "string",
"description": "Cluster ID"
}
}
}databricks_delete_clusterPermanently delete a cluster.
This removes the cluster completely. Use terminate_cluster to just stop it.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"clusterId"
],
"properties": {
"clusterId": {
"type": "string",
"description": "Cluster ID"
}
}
}databricks_list_cluster_eventsList recent events for a cluster.
Args:
Returns: List of cluster events.
{
"type": "object",
"required": [
"clusterId"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 500,
"minimum": 1,
"description": "Maximum events"
},
"clusterId": {
"type": "string",
"description": "Cluster ID"
}
}
}databricks_pin_clusterPin a cluster to ensure it appears in the cluster list.
Args:
Returns: Confirmation of pinning.
{
"type": "object",
"required": [
"clusterId"
],
"properties": {
"clusterId": {
"type": "string",
"description": "Cluster ID"
}
}
}databricks_unpin_clusterUnpin a cluster.
Args:
Returns: Confirmation of unpinning.
{
"type": "object",
"required": [
"clusterId"
],
"properties": {
"clusterId": {
"type": "string",
"description": "Cluster ID"
}
}
}databricks_list_dbfsList files and directories in DBFS.
Args:
Returns: List of files and directories with metadata.
{
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
"description": "DBFS path"
}
}
}databricks_get_dbfs_statusGet status/metadata of a DBFS path.
Args:
Returns: File or directory metadata.
{
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
"description": "DBFS path"
}
}
}databricks_mkdirs_dbfsCreate a directory in DBFS.
Creates parent directories as needed.
Args:
Returns: Confirmation of creation.
{
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
"description": "Directory path"
}
}
}databricks_delete_dbfsDelete a file or directory in DBFS.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
"description": "Path to delete"
},
"recursive": {
"type": "boolean",
"description": "Delete recursively"
}
}
}databricks_read_dbfsRead contents of a file in DBFS.
For files larger than 1MB, use offset and length for chunked reading.
Args:
Returns: Base64-encoded file content and bytes read.
{
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
"description": "File path"
},
"length": {
"type": "integer",
"maximum": 1048576,
"minimum": 1,
"description": "Bytes to read"
},
"offset": {
"type": "integer",
"minimum": 0,
"description": "Byte offset"
}
}
}databricks_put_dbfsWrite content to a file in DBFS.
For files larger than 1MB, use the streaming API (create, add_block, close).
Args:
Returns: Confirmation of write.
{
"type": "object",
"required": [
"path",
"contents"
],
"properties": {
"path": {
"type": "string",
"description": "Destination path"
},
"contents": {
"type": "string",
"description": "Base64-encoded content"
},
"overwrite": {
"type": "boolean",
"description": "Overwrite existing"
}
}
}databricks_move_dbfsMove a file or directory in DBFS.
Args:
Returns: Confirmation of move.
{
"type": "object",
"required": [
"sourcePath",
"destinationPath"
],
"properties": {
"sourcePath": {
"type": "string",
"description": "Source path"
},
"destinationPath": {
"type": "string",
"description": "Destination path"
}
}
}databricks_list_instance_poolsList all instance pools.
Returns: List of instance pools.
{
"type": "object",
"properties": {}
}databricks_get_instance_poolGet details of a specific instance pool.
Args:
Returns: Instance pool details.
{
"type": "object",
"required": [
"instancePoolId"
],
"properties": {
"instancePoolId": {
"type": "string",
"description": "Instance pool ID"
}
}
}databricks_create_instance_poolCreate a new instance pool.
Args:
Returns: Created instance pool ID.
{
"type": "object",
"required": [
"instancePoolName",
"nodeTypeId"
],
"properties": {
"nodeTypeId": {
"type": "string",
"description": "Node type ID"
},
"maxCapacity": {
"type": "integer",
"minimum": 1,
"description": "Maximum capacity"
},
"instancePoolName": {
"type": "string",
"description": "Pool name"
},
"minIdleInstances": {
"type": "integer",
"minimum": 0,
"description": "Minimum idle instances"
},
"idleInstanceAutoterminationMinutes": {
"type": "integer",
"minimum": 0,
"description": "Auto-termination minutes"
}
}
}databricks_edit_instance_poolEdit an existing instance pool.
Args:
Returns: Confirmation of update.
{
"type": "object",
"required": [
"instancePoolId",
"instancePoolName",
"nodeTypeId"
],
"properties": {
"nodeTypeId": {
"type": "string",
"description": "Node type ID"
},
"maxCapacity": {
"type": "integer",
"minimum": 1,
"description": "Maximum capacity"
},
"instancePoolId": {
"type": "string",
"description": "Instance pool ID"
},
"instancePoolName": {
"type": "string",
"description": "Pool name"
},
"minIdleInstances": {
"type": "integer",
"minimum": 0,
"description": "Minimum idle instances"
}
}
}databricks_delete_instance_poolDelete an instance pool.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"instancePoolId"
],
"properties": {
"instancePoolId": {
"type": "string",
"description": "Instance pool ID"
}
}
}databricks_list_jobsList all jobs in the workspace.
Args:
Returns: List of jobs with their settings and metadata.
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Filter by job name"
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Maximum jobs to return"
},
"offset": {
"type": "integer",
"minimum": 0,
"description": "Pagination offset"
}
}
}databricks_get_jobGet details of a specific job.
Args:
Returns: Job configuration and metadata.
{
"type": "object",
"required": [
"jobId"
],
"properties": {
"jobId": {
"type": "integer",
"description": "Job ID"
}
}
}databricks_create_jobCreate a new job.
Args:
Returns: Created job ID.
{
"type": "object",
"required": [
"name",
"tasks"
],
"properties": {
"name": {
"type": "string",
"description": "Job name"
},
"tasks": {
"type": "string",
"description": "Tasks configuration as JSON string"
},
"schedule": {
"type": "string",
"description": "Cron expression"
},
"timezone": {
"type": "string",
"description": "Timezone for schedule"
}
}
}databricks_update_jobUpdate an existing job.
Args:
Returns: Confirmation of update.
{
"type": "object",
"required": [
"jobId",
"settings"
],
"properties": {
"jobId": {
"type": "integer",
"description": "Job ID"
},
"settings": {
"type": "string",
"description": "New settings as JSON string"
}
}
}databricks_delete_jobDelete a job.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"jobId"
],
"properties": {
"jobId": {
"type": "integer",
"description": "Job ID"
}
}
}databricks_run_jobTrigger a job run immediately.
Args:
Returns: Run ID of the triggered run.
{
"type": "object",
"required": [
"jobId"
],
"properties": {
"jobId": {
"type": "integer",
"description": "Job ID"
},
"parameters": {
"type": "string",
"description": "Runtime parameters as JSON"
}
}
}databricks_list_runsList job runs.
Args:
Returns: List of job runs with status.
{
"type": "object",
"properties": {
"jobId": {
"type": "integer",
"description": "Filter by job ID"
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Maximum runs to return"
},
"offset": {
"type": "integer",
"minimum": 0,
"description": "Pagination offset"
},
"activeOnly": {
"type": "boolean",
"description": "Only active runs"
},
"completedOnly": {
"type": "boolean",
"description": "Only completed runs"
}
}
}databricks_get_runGet details of a specific job run.
Args:
Returns: Run details including status and tasks.
{
"type": "object",
"required": [
"runId"
],
"properties": {
"runId": {
"type": "integer",
"description": "Run ID"
}
}
}databricks_get_run_outputGet the output of a job run.
Args:
Returns: Run output including notebook output if applicable.
{
"type": "object",
"required": [
"runId"
],
"properties": {
"runId": {
"type": "integer",
"description": "Run ID"
}
}
}databricks_cancel_runCancel a running job run.
Args:
Returns: Confirmation of cancellation.
{
"type": "object",
"required": [
"runId"
],
"properties": {
"runId": {
"type": "integer",
"description": "Run ID"
}
}
}databricks_cancel_all_runsCancel all active runs of a job.
Args:
Returns: Confirmation of cancellation.
{
"type": "object",
"required": [
"jobId"
],
"properties": {
"jobId": {
"type": "integer",
"description": "Job ID"
}
}
}databricks_list_experimentsList MLflow experiments.
Args:
Returns: List of experiments.
{
"type": "object",
"properties": {
"pageToken": {
"type": "string",
"description": "Pagination token"
},
"maxResults": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Maximum results"
}
}
}databricks_get_experimentGet details of an MLflow experiment.
Args:
Returns: Experiment metadata.
{
"type": "object",
"required": [
"experimentId"
],
"properties": {
"experimentId": {
"type": "string",
"description": "Experiment ID"
}
}
}databricks_create_experimentCreate a new MLflow experiment.
Args:
Returns: Created experiment ID.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Experiment name"
},
"artifactLocation": {
"type": "string",
"description": "Artifact location"
}
}
}databricks_delete_experimentDelete an MLflow experiment.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"experimentId"
],
"properties": {
"experimentId": {
"type": "string",
"description": "Experiment ID"
}
}
}databricks_restore_experimentRestore a deleted MLflow experiment.
Args:
Returns: Confirmation of restoration.
{
"type": "object",
"required": [
"experimentId"
],
"properties": {
"experimentId": {
"type": "string",
"description": "Experiment ID"
}
}
}databricks_search_runsSearch for MLflow runs.
Args:
Returns: List of matching runs.
{
"type": "object",
"required": [
"experimentIds"
],
"properties": {
"filter": {
"type": "string",
"description": "Filter expression"
},
"orderBy": {
"type": "array",
"items": {
"type": "string"
},
"description": "Order by fields"
},
"pageToken": {
"type": "string",
"description": "Pagination token"
},
"maxResults": {
"type": "integer",
"maximum": 50000,
"minimum": 1,
"description": "Maximum results"
},
"experimentIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Experiment IDs"
}
}
}databricks_create_runCreate a new MLflow run.
Args:
Returns: Created run details.
{
"type": "object",
"required": [
"experimentId"
],
"properties": {
"tags": {
"type": "string",
"description": "Tags as JSON array"
},
"runName": {
"type": "string",
"description": "Run name"
},
"experimentId": {
"type": "string",
"description": "Experiment ID"
}
}
}databricks_update_runUpdate an MLflow run status.
Args:
Returns: Confirmation of update.
{
"type": "object",
"required": [
"runId",
"status"
],
"properties": {
"runId": {
"type": "string",
"description": "Run ID"
},
"status": {
"enum": [
"RUNNING",
"SCHEDULED",
"FINISHED",
"FAILED",
"KILLED"
],
"type": "string",
"description": "Status"
},
"endTime": {
"type": "integer",
"description": "End timestamp (ms)"
}
}
}databricks_delete_runDelete an MLflow run.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"runId"
],
"properties": {
"runId": {
"type": "string",
"description": "Run ID"
}
}
}databricks_log_metricLog a metric to an MLflow run.
Args:
Returns: Confirmation of logging.
{
"type": "object",
"required": [
"runId",
"key",
"value"
],
"properties": {
"key": {
"type": "string",
"description": "Metric name"
},
"step": {
"type": "integer",
"description": "Step number"
},
"runId": {
"type": "string",
"description": "Run ID"
},
"value": {
"type": "number",
"description": "Metric value"
},
"timestamp": {
"type": "integer",
"description": "Timestamp (ms)"
}
}
}databricks_log_paramLog a parameter to an MLflow run.
Args:
Returns: Confirmation of logging.
{
"type": "object",
"required": [
"runId",
"key",
"value"
],
"properties": {
"key": {
"type": "string",
"description": "Parameter name"
},
"runId": {
"type": "string",
"description": "Run ID"
},
"value": {
"type": "string",
"description": "Parameter value"
}
}
}databricks_set_tagSet a tag on an MLflow run.
Args:
Returns: Confirmation of setting.
{
"type": "object",
"required": [
"runId",
"key",
"value"
],
"properties": {
"key": {
"type": "string",
"description": "Tag name"
},
"runId": {
"type": "string",
"description": "Run ID"
},
"value": {
"type": "string",
"description": "Tag value"
}
}
}databricks_list_modelsList registered MLflow models.
Args:
Returns: List of registered models.
{
"type": "object",
"properties": {
"pageToken": {
"type": "string",
"description": "Pagination token"
},
"maxResults": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Maximum results"
}
}
}databricks_get_modelGet details of a registered model.
Args:
Returns: Model metadata including versions.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Model name"
}
}
}databricks_create_modelCreate a new registered model.
Args:
Returns: Created model details.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Model name"
},
"tags": {
"type": "string",
"description": "Tags as JSON array"
},
"description": {
"type": "string",
"description": "Model description"
}
}
}databricks_delete_modelDelete a registered model.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Model name"
}
}
}databricks_list_model_versionsList versions of a registered model.
Args:
Returns: List of model versions.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Model name"
}
}
}databricks_delete_model_versionDelete a model version.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"name",
"version"
],
"properties": {
"name": {
"type": "string",
"description": "Model name"
},
"version": {
"type": "string",
"description": "Version number"
}
}
}databricks_list_pipelinesList Delta Live Tables pipelines.
Args:
Returns: List of pipelines.
{
"type": "object",
"properties": {
"filter": {
"type": "string",
"description": "Filter expression"
},
"pageToken": {
"type": "string",
"description": "Pagination token"
},
"maxResults": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Maximum results"
}
}
}databricks_get_pipelineGet details of a specific pipeline.
Args:
Returns: Pipeline details including status and configuration.
{
"type": "object",
"required": [
"pipelineId"
],
"properties": {
"pipelineId": {
"type": "string",
"description": "Pipeline ID"
}
}
}databricks_create_pipelineCreate a new Delta Live Tables pipeline.
Args:
Returns: Created pipeline ID.
{
"type": "object",
"required": [
"name",
"spec"
],
"properties": {
"name": {
"type": "string",
"description": "Pipeline name"
},
"spec": {
"type": "string",
"description": "Pipeline specification as JSON"
}
}
}databricks_update_pipelineUpdate an existing pipeline.
Args:
Returns: Confirmation of update.
{
"type": "object",
"required": [
"pipelineId",
"spec"
],
"properties": {
"spec": {
"type": "string",
"description": "Updated specification as JSON"
},
"pipelineId": {
"type": "string",
"description": "Pipeline ID"
}
}
}databricks_delete_pipelineDelete a pipeline.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"pipelineId"
],
"properties": {
"pipelineId": {
"type": "string",
"description": "Pipeline ID"
}
}
}databricks_start_pipelineStart a pipeline update.
Args:
Returns: Update ID.
{
"type": "object",
"required": [
"pipelineId"
],
"properties": {
"pipelineId": {
"type": "string",
"description": "Pipeline ID"
},
"fullRefresh": {
"type": "boolean",
"description": "Perform full refresh"
}
}
}databricks_stop_pipelineStop a running pipeline.
Args:
Returns: Confirmation of stop.
{
"type": "object",
"required": [
"pipelineId"
],
"properties": {
"pipelineId": {
"type": "string",
"description": "Pipeline ID"
}
}
}databricks_list_reposList Git repos in the workspace.
Args:
Returns: List of repos.
{
"type": "object",
"properties": {
"pageToken": {
"type": "string",
"description": "Pagination token"
},
"pathPrefix": {
"type": "string",
"description": "Filter by path prefix"
}
}
}databricks_get_repoGet details of a specific repo.
Args:
Returns: Repo details including branch info.
{
"type": "object",
"required": [
"repoId"
],
"properties": {
"repoId": {
"type": "integer",
"description": "Repo ID"
}
}
}databricks_create_repoCreate a new Git repo in the workspace.
Args:
Returns: Created repo details.
{
"type": "object",
"required": [
"url",
"provider"
],
"properties": {
"url": {
"type": "string",
"description": "Git repository URL"
},
"path": {
"type": "string",
"description": "Workspace path"
},
"provider": {
"type": "string",
"description": "Git provider"
}
}
}databricks_update_repoUpdate a repo (switch branch or tag).
Args:
Returns: Updated repo details.
{
"type": "object",
"required": [
"repoId"
],
"properties": {
"tag": {
"type": "string",
"description": "Tag to checkout"
},
"branch": {
"type": "string",
"description": "Branch to checkout"
},
"repoId": {
"type": "integer",
"description": "Repo ID"
}
}
}databricks_delete_repoDelete a repo from the workspace.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"repoId"
],
"properties": {
"repoId": {
"type": "integer",
"description": "Repo ID"
}
}
}databricks_list_git_credentialsList Git credentials for the current user.
Returns: List of Git credentials.
{
"type": "object",
"properties": {}
}databricks_create_git_credentialCreate a new Git credential.
Args:
Returns: Created credential details.
{
"type": "object",
"required": [
"provider",
"username",
"personalAccessToken"
],
"properties": {
"provider": {
"type": "string",
"description": "Git provider"
},
"username": {
"type": "string",
"description": "Git username"
},
"personalAccessToken": {
"type": "string",
"description": "Personal access token"
}
}
}databricks_delete_git_credentialDelete a Git credential.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"credentialId"
],
"properties": {
"credentialId": {
"type": "integer",
"description": "Credential ID"
}
}
}databricks_list_secret_scopesList all secret scopes.
Returns: List of secret scopes.
{
"type": "object",
"properties": {}
}databricks_create_secret_scopeCreate a new secret scope.
Args:
Returns: Confirmation of creation.
{
"type": "object",
"required": [
"scope"
],
"properties": {
"scope": {
"type": "string",
"description": "Scope name"
}
}
}databricks_delete_secret_scopeDelete a secret scope.
This also deletes all secrets and ACLs in the scope.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"scope"
],
"properties": {
"scope": {
"type": "string",
"description": "Scope name"
}
}
}databricks_list_secretsList secrets in a scope.
Note: This lists secret metadata only, not the actual values.
Args:
Returns: List of secret keys.
{
"type": "object",
"required": [
"scope"
],
"properties": {
"scope": {
"type": "string",
"description": "Scope name"
}
}
}databricks_put_secretCreate or update a secret.
Args:
Returns: Confirmation of storage.
{
"type": "object",
"required": [
"scope",
"key",
"value"
],
"properties": {
"key": {
"type": "string",
"description": "Secret key"
},
"scope": {
"type": "string",
"description": "Scope name"
},
"value": {
"type": "string",
"description": "Secret value"
}
}
}databricks_get_secret_aclGet ACL for a principal on a scope.
Args:
Returns: ACL details.
{
"type": "object",
"required": [
"scope",
"principal"
],
"properties": {
"scope": {
"type": "string",
"description": "Scope name"
},
"principal": {
"type": "string",
"description": "Principal name"
}
}
}databricks_put_secret_aclSet ACL for a principal on a scope.
Args:
Returns: Confirmation of setting.
{
"type": "object",
"required": [
"scope",
"principal",
"permission"
],
"properties": {
"scope": {
"type": "string",
"description": "Scope name"
},
"principal": {
"type": "string",
"description": "Principal name"
},
"permission": {
"enum": [
"READ",
"WRITE",
"MANAGE"
],
"type": "string",
"description": "Permission level"
}
}
}databricks_delete_secret_aclDelete ACL for a principal on a scope.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"scope",
"principal"
],
"properties": {
"scope": {
"type": "string",
"description": "Scope name"
},
"principal": {
"type": "string",
"description": "Principal name"
}
}
}databricks_execute_sqlExecute a SQL statement on a Databricks SQL warehouse.
The statement will be executed and results returned inline if they complete within the timeout. For long-running queries, use databricks_get_sql_status to poll for completion.
Args:
Returns: Statement ID and status. If completed, includes result data.
{
"type": "object",
"required": [
"warehouseId",
"statement"
],
"properties": {
"format": {
"enum": [
"JSON_ARRAY",
"CSV",
"ARROW_STREAM"
],
"type": "string",
"description": "Result format"
},
"schema": {
"type": "string",
"description": "Default schema"
},
"catalog": {
"type": "string",
"description": "Default catalog"
},
"statement": {
"type": "string",
"description": "SQL statement to execute"
},
"waitTimeout": {
"type": "string",
"description": "Wait timeout (e.g., \"50s"
},
"warehouseId": {
"type": "string",
"description": "SQL warehouse ID"
}
}
}databricks_get_sql_statusGet the status and results of a SQL statement.
Use this to poll for completion of long-running queries or to retrieve results.
Args:
Returns: Statement status and results if available.
{
"type": "object",
"required": [
"statementId"
],
"properties": {
"statementId": {
"type": "string",
"description": "Statement ID"
}
}
}databricks_get_sql_result_chunkGet a specific chunk of SQL statement results.
For large results that are split into multiple chunks, use this to fetch each chunk.
Args:
Returns: Result data for the specified chunk.
{
"type": "object",
"required": [
"statementId",
"chunkIndex"
],
"properties": {
"chunkIndex": {
"type": "integer",
"minimum": 0,
"description": "Chunk index (0-based)"
},
"statementId": {
"type": "string",
"description": "Statement ID"
}
}
}databricks_cancel_sqlCancel a running SQL statement.
Args:
Returns: Confirmation of cancellation.
{
"type": "object",
"required": [
"statementId"
],
"properties": {
"statementId": {
"type": "string",
"description": "Statement ID to cancel"
}
}
}databricks_list_warehousesList all SQL warehouses in the workspace.
Returns: List of SQL warehouses with their status and configuration.
{
"type": "object",
"properties": {}
}databricks_get_warehouseGet details of a specific SQL warehouse.
Args:
Returns: Warehouse configuration and status.
{
"type": "object",
"required": [
"warehouseId"
],
"properties": {
"warehouseId": {
"type": "string",
"description": "SQL warehouse ID"
}
}
}databricks_start_warehouseStart a stopped SQL warehouse.
Args:
Returns: Confirmation that the warehouse is starting.
{
"type": "object",
"required": [
"warehouseId"
],
"properties": {
"warehouseId": {
"type": "string",
"description": "SQL warehouse ID"
}
}
}databricks_stop_warehouseStop a running SQL warehouse.
Args:
Returns: Confirmation that the warehouse is stopping.
{
"type": "object",
"required": [
"warehouseId"
],
"properties": {
"warehouseId": {
"type": "string",
"description": "SQL warehouse ID"
}
}
}databricks_list_tokensList all personal access tokens for the current user.
Returns: List of token metadata (not the actual token values).
{
"type": "object",
"properties": {}
}databricks_get_functionGet details of a specific function.
Args:
Returns: Function metadata.
{
"type": "object",
"required": [
"fullName"
],
"properties": {
"fullName": {
"type": "string",
"description": "Full function name (catalog.schema.function)"
}
}
}databricks_create_tokenCreate a new personal access token.
Args:
Returns: Token value (shown only once) and metadata.
{
"type": "object",
"properties": {
"comment": {
"type": "string",
"description": "Token description"
},
"lifetimeSeconds": {
"type": "integer",
"minimum": 60,
"description": "Lifetime in seconds"
}
}
}databricks_revoke_tokenRevoke a personal access token.
Args:
Returns: Confirmation of revocation.
{
"type": "object",
"required": [
"tokenId"
],
"properties": {
"tokenId": {
"type": "string",
"description": "Token ID"
}
}
}databricks_list_catalogsList all catalogs in Unity Catalog.
Returns: List of catalogs with metadata.
{
"type": "object",
"properties": {}
}databricks_get_catalogGet details of a specific catalog.
Args:
Returns: Catalog metadata and properties.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Catalog name"
}
}
}databricks_create_catalogCreate a new catalog in Unity Catalog.
Args:
Returns: Created catalog details.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Catalog name"
},
"comment": {
"type": "string",
"description": "Catalog description"
}
}
}databricks_delete_catalogDelete a catalog.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Catalog name"
},
"force": {
"type": "boolean",
"description": "Force delete"
}
}
}databricks_get_schemaGet details of a specific schema.
Args:
Returns: Schema metadata.
{
"type": "object",
"required": [
"fullName"
],
"properties": {
"fullName": {
"type": "string",
"description": "Full schema name (catalog.schema)"
}
}
}databricks_create_schemaCreate a new schema in a catalog.
Args:
Returns: Created schema details.
{
"type": "object",
"required": [
"catalogName",
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Schema name"
},
"comment": {
"type": "string",
"description": "Schema description"
},
"catalogName": {
"type": "string",
"description": "Catalog name"
}
}
}databricks_delete_schemaDelete a schema.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"fullName"
],
"properties": {
"fullName": {
"type": "string",
"description": "Full schema name (catalog.schema)"
}
}
}databricks_list_tablesList all tables in a schema.
Args:
Returns: List of tables.
{
"type": "object",
"required": [
"catalogName",
"schemaName"
],
"properties": {
"schemaName": {
"type": "string",
"description": "Schema name"
},
"catalogName": {
"type": "string",
"description": "Catalog name"
}
}
}databricks_get_tableGet details of a specific table.
Args:
Returns: Table metadata including columns.
{
"type": "object",
"required": [
"fullName"
],
"properties": {
"fullName": {
"type": "string",
"description": "Full table name (catalog.schema.table)"
}
}
}databricks_delete_tableDelete a table.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"fullName"
],
"properties": {
"fullName": {
"type": "string",
"description": "Full table name (catalog.schema.table)"
}
}
}databricks_list_volumesList all volumes in a schema.
Args:
Returns: List of volumes.
{
"type": "object",
"required": [
"catalogName",
"schemaName"
],
"properties": {
"schemaName": {
"type": "string",
"description": "Schema name"
},
"catalogName": {
"type": "string",
"description": "Catalog name"
}
}
}databricks_get_volumeGet details of a specific volume.
Args:
Returns: Volume metadata.
{
"type": "object",
"required": [
"fullName"
],
"properties": {
"fullName": {
"type": "string",
"description": "Full volume name (catalog.schema.volume)"
}
}
}databricks_create_volumeCreate a new volume.
Args:
Returns: Created volume details.
{
"type": "object",
"required": [
"catalogName",
"schemaName",
"name",
"volumeType"
],
"properties": {
"name": {
"type": "string",
"description": "Volume name"
},
"comment": {
"type": "string",
"description": "Volume description"
},
"schemaName": {
"type": "string",
"description": "Schema name"
},
"volumeType": {
"enum": [
"MANAGED",
"EXTERNAL"
],
"type": "string",
"description": "Volume type"
},
"catalogName": {
"type": "string",
"description": "Catalog name"
},
"storageLocation": {
"type": "string",
"description": "Storage location"
}
}
}databricks_delete_volumeDelete a volume.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"fullName"
],
"properties": {
"fullName": {
"type": "string",
"description": "Full volume name (catalog.schema.volume)"
}
}
}databricks_list_functionsList all functions in a schema.
Args:
Returns: List of functions.
{
"type": "object",
"required": [
"catalogName",
"schemaName"
],
"properties": {
"schemaName": {
"type": "string",
"description": "Schema name"
},
"catalogName": {
"type": "string",
"description": "Catalog name"
}
}
}databricks_list_workspaceList contents of a workspace directory.
Args:
Returns: List of workspace objects (notebooks, folders, etc.).
{
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
"description": "Workspace path"
}
}
}databricks_get_workspace_statusGet status/metadata of a workspace object.
Args:
Returns: Object metadata including type, language, and timestamps.
{
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
"description": "Workspace path"
}
}
}databricks_mkdirsCreate a directory in the workspace.
Creates parent directories as needed.
Args:
Returns: Confirmation of creation.
{
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
"description": "Directory path"
}
}
}databricks_delete_workspaceDelete a workspace object (notebook, folder, etc.).
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
"description": "Path to delete"
},
"recursive": {
"type": "boolean",
"description": "Delete recursively"
}
}
}databricks_import_notebookImport a notebook into the workspace.
Args:
Returns: Confirmation of import.
{
"type": "object",
"required": [
"path",
"content",
"format"
],
"properties": {
"path": {
"type": "string",
"description": "Destination path"
},
"format": {
"enum": [
"SOURCE",
"HTML",
"JUPYTER",
"DBC",
"R_MARKDOWN"
],
"type": "string",
"description": "Import format"
},
"content": {
"type": "string",
"description": "Base64-encoded content"
},
"language": {
"enum": [
"PYTHON",
"SCALA",
"SQL",
"R"
],
"type": "string",
"description": "Notebook language"
},
"overwrite": {
"type": "boolean",
"description": "Overwrite existing"
}
}
}databricks_export_notebookExport a notebook from the workspace.
Args:
Returns: Base64-encoded notebook content.
{
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
"description": "Notebook path"
},
"format": {
"enum": [
"SOURCE",
"HTML",
"JUPYTER",
"DBC",
"R_MARKDOWN"
],
"type": "string",
"description": "Export format"
}
}
}