naftiko: 1.0.0-alpha2 info: label: Azure Databricks REST API — Clusters description: 'Azure Databricks REST API — Clusters. 13 operations. Lead operation: Azure Databricks Create a New Cluster. Self-contained Naftiko capability covering one Azure Databricks business surface.' tags: - Azure Databricks - Clusters created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AZURE_DATABRICKS_API_KEY: AZURE_DATABRICKS_API_KEY capability: consumes: - type: http namespace: azure-databricks-clusters baseUri: https://{databricks_instance}.azuredatabricks.net/api description: Azure Databricks REST API — Clusters business capability. Self-contained, no shared references. resources: - name: 2.0-clusters-create path: /2.0/clusters/create operations: - name: createcluster method: POST description: Azure Databricks Create a New Cluster outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: 2.0-clusters-delete path: /2.0/clusters/delete operations: - name: terminatecluster method: POST description: Azure Databricks Terminate a Cluster outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: 2.0-clusters-edit path: /2.0/clusters/edit operations: - name: editcluster method: POST description: Azure Databricks Edit a Cluster outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: 2.0-clusters-events path: /2.0/clusters/events operations: - name: listclusterevents method: POST description: Azure Databricks List Cluster Events outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: 2.0-clusters-get path: /2.0/clusters/get operations: - name: getcluster method: GET description: Azure Databricks Get Cluster Information outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: cluster_id in: query type: string description: The cluster about which to retrieve information required: true - name: 2.0-clusters-list path: /2.0/clusters/list operations: - name: listclusters method: GET description: Azure Databricks List All Clusters outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: can_use_client in: query type: string description: Filter clusters based on what type of client can use the cluster. Possible values are NOTEBOOKS and JOBS. - name: 2.0-clusters-list-node-types path: /2.0/clusters/list-node-types operations: - name: listnodetypes method: GET description: Azure Databricks List Available Node Types outputRawFormat: json outputParameters: - name: result type: object value: $. - name: 2.0-clusters-permanent-delete path: /2.0/clusters/permanent-delete operations: - name: permanentdeletecluster method: POST description: Azure Databricks Permanently Delete a Cluster outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: 2.0-clusters-pin path: /2.0/clusters/pin operations: - name: pincluster method: POST description: Azure Databricks Pin a Cluster outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: 2.0-clusters-restart path: /2.0/clusters/restart operations: - name: restartcluster method: POST description: Azure Databricks Restart a Running Cluster outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: 2.0-clusters-spark-versions path: /2.0/clusters/spark-versions operations: - name: listsparkversions method: GET description: Azure Databricks List Available Spark Versions outputRawFormat: json outputParameters: - name: result type: object value: $. - name: 2.0-clusters-start path: /2.0/clusters/start operations: - name: startcluster method: POST description: Azure Databricks Start a Terminated Cluster outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: 2.0-clusters-unpin path: /2.0/clusters/unpin operations: - name: unpincluster method: POST description: Azure Databricks Unpin a Cluster outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.AZURE_DATABRICKS_API_KEY}}' exposes: - type: rest namespace: azure-databricks-clusters-rest port: 8080 description: REST adapter for Azure Databricks REST API — Clusters. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/2-0/clusters/create name: 2-0-clusters-create description: REST surface for 2.0-clusters-create. operations: - method: POST name: createcluster description: Azure Databricks Create a New Cluster call: azure-databricks-clusters.createcluster with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/2-0/clusters/delete name: 2-0-clusters-delete description: REST surface for 2.0-clusters-delete. operations: - method: POST name: terminatecluster description: Azure Databricks Terminate a Cluster call: azure-databricks-clusters.terminatecluster with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/2-0/clusters/edit name: 2-0-clusters-edit description: REST surface for 2.0-clusters-edit. operations: - method: POST name: editcluster description: Azure Databricks Edit a Cluster call: azure-databricks-clusters.editcluster with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/2-0/clusters/events name: 2-0-clusters-events description: REST surface for 2.0-clusters-events. operations: - method: POST name: listclusterevents description: Azure Databricks List Cluster Events call: azure-databricks-clusters.listclusterevents with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/2-0/clusters/get name: 2-0-clusters-get description: REST surface for 2.0-clusters-get. operations: - method: GET name: getcluster description: Azure Databricks Get Cluster Information call: azure-databricks-clusters.getcluster with: cluster_id: rest.cluster_id outputParameters: - type: object mapping: $. - path: /v1/2-0/clusters/list name: 2-0-clusters-list description: REST surface for 2.0-clusters-list. operations: - method: GET name: listclusters description: Azure Databricks List All Clusters call: azure-databricks-clusters.listclusters with: can_use_client: rest.can_use_client outputParameters: - type: object mapping: $. - path: /v1/2-0/clusters/list-node-types name: 2-0-clusters-list-node-types description: REST surface for 2.0-clusters-list-node-types. operations: - method: GET name: listnodetypes description: Azure Databricks List Available Node Types call: azure-databricks-clusters.listnodetypes outputParameters: - type: object mapping: $. - path: /v1/2-0/clusters/permanent-delete name: 2-0-clusters-permanent-delete description: REST surface for 2.0-clusters-permanent-delete. operations: - method: POST name: permanentdeletecluster description: Azure Databricks Permanently Delete a Cluster call: azure-databricks-clusters.permanentdeletecluster with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/2-0/clusters/pin name: 2-0-clusters-pin description: REST surface for 2.0-clusters-pin. operations: - method: POST name: pincluster description: Azure Databricks Pin a Cluster call: azure-databricks-clusters.pincluster with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/2-0/clusters/restart name: 2-0-clusters-restart description: REST surface for 2.0-clusters-restart. operations: - method: POST name: restartcluster description: Azure Databricks Restart a Running Cluster call: azure-databricks-clusters.restartcluster with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/2-0/clusters/spark-versions name: 2-0-clusters-spark-versions description: REST surface for 2.0-clusters-spark-versions. operations: - method: GET name: listsparkversions description: Azure Databricks List Available Spark Versions call: azure-databricks-clusters.listsparkversions outputParameters: - type: object mapping: $. - path: /v1/2-0/clusters/start name: 2-0-clusters-start description: REST surface for 2.0-clusters-start. operations: - method: POST name: startcluster description: Azure Databricks Start a Terminated Cluster call: azure-databricks-clusters.startcluster with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/2-0/clusters/unpin name: 2-0-clusters-unpin description: REST surface for 2.0-clusters-unpin. operations: - method: POST name: unpincluster description: Azure Databricks Unpin a Cluster call: azure-databricks-clusters.unpincluster with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: azure-databricks-clusters-mcp port: 9090 transport: http description: MCP adapter for Azure Databricks REST API — Clusters. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: azure-databricks-create-new-cluster description: Azure Databricks Create a New Cluster hints: readOnly: false destructive: false idempotent: false call: azure-databricks-clusters.createcluster with: body: tools.body outputParameters: - type: object mapping: $. - name: azure-databricks-terminate-cluster description: Azure Databricks Terminate a Cluster hints: readOnly: false destructive: false idempotent: false call: azure-databricks-clusters.terminatecluster with: body: tools.body outputParameters: - type: object mapping: $. - name: azure-databricks-edit-cluster description: Azure Databricks Edit a Cluster hints: readOnly: false destructive: false idempotent: false call: azure-databricks-clusters.editcluster with: body: tools.body outputParameters: - type: object mapping: $. - name: azure-databricks-list-cluster-events description: Azure Databricks List Cluster Events hints: readOnly: true destructive: false idempotent: false call: azure-databricks-clusters.listclusterevents with: body: tools.body outputParameters: - type: object mapping: $. - name: azure-databricks-get-cluster-information description: Azure Databricks Get Cluster Information hints: readOnly: true destructive: false idempotent: true call: azure-databricks-clusters.getcluster with: cluster_id: tools.cluster_id outputParameters: - type: object mapping: $. - name: azure-databricks-list-all-clusters description: Azure Databricks List All Clusters hints: readOnly: true destructive: false idempotent: true call: azure-databricks-clusters.listclusters with: can_use_client: tools.can_use_client outputParameters: - type: object mapping: $. - name: azure-databricks-list-available-node description: Azure Databricks List Available Node Types hints: readOnly: true destructive: false idempotent: true call: azure-databricks-clusters.listnodetypes outputParameters: - type: object mapping: $. - name: azure-databricks-permanently-delete-cluster description: Azure Databricks Permanently Delete a Cluster hints: readOnly: false destructive: false idempotent: false call: azure-databricks-clusters.permanentdeletecluster with: body: tools.body outputParameters: - type: object mapping: $. - name: azure-databricks-pin-cluster description: Azure Databricks Pin a Cluster hints: readOnly: false destructive: false idempotent: false call: azure-databricks-clusters.pincluster with: body: tools.body outputParameters: - type: object mapping: $. - name: azure-databricks-restart-running-cluster description: Azure Databricks Restart a Running Cluster hints: readOnly: false destructive: false idempotent: false call: azure-databricks-clusters.restartcluster with: body: tools.body outputParameters: - type: object mapping: $. - name: azure-databricks-list-available-spark description: Azure Databricks List Available Spark Versions hints: readOnly: true destructive: false idempotent: true call: azure-databricks-clusters.listsparkversions outputParameters: - type: object mapping: $. - name: azure-databricks-start-terminated-cluster description: Azure Databricks Start a Terminated Cluster hints: readOnly: false destructive: false idempotent: false call: azure-databricks-clusters.startcluster with: body: tools.body outputParameters: - type: object mapping: $. - name: azure-databricks-unpin-cluster description: Azure Databricks Unpin a Cluster hints: readOnly: false destructive: false idempotent: false call: azure-databricks-clusters.unpincluster with: body: tools.body outputParameters: - type: object mapping: $.