create_cluster
Create a new Databricks cluster with fixed-size or autoscaling workers, Spark settings, node types, policies, and auto-termination to provision compute for data workloads.
Instructions
Create a new Databricks cluster with custom configuration. Supports both fixed-size and autoscaling clusters with various runtime options.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cluster_name": "<cluster_name>",
"spark_version": "<spark_version>",
"node_type_id": "<node_type_id>"
},
"name": "create_cluster"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy_id | No | Cluster policy ID to use | |
| spark_conf | No | Spark configuration properties as key-value pairs | |
| custom_tags | No | Custom tags as key-value pairs | |
| num_workers | No | Number of worker nodes (use this OR autoscale, not both) | |
| cluster_name | Yes | Name for the new cluster | |
| node_type_id | Yes | Node type for worker nodes (e.g., "i3.xlarge", "Standard_DS3_v2") | |
| spark_version | Yes | Spark version to use (e.g., "13.3.x-scala2.12") | |
| instance_pool_id | No | Instance pool ID to use for this cluster | |
| driver_node_type_id | No | Node type for driver (optional, defaults to node_type_id) | |
| enable_elastic_disk | No | Enable elastic disk scaling | |
| autoscale_max_workers | No | Maximum workers for autoscaling | |
| autoscale_min_workers | No | Minimum workers for autoscaling | |
| autotermination_minutes | No | Auto-terminate cluster after N minutes of inactivity (default: 120) | |
| enable_local_disk_encryption | No | Enable local disk encryption |