edit_cluster
Modify an existing Databricks cluster’s configuration—such as name, size, node type, Spark version, tags, and autoscaling—while it is terminated; required cluster_id identifies the target.
Instructions
Edit the configuration of an existing cluster. The cluster must be in TERMINATED state to edit most properties.
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_id": "<cluster_id>"
},
"name": "edit_cluster"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_id | Yes | The unique identifier of the cluster to edit | |
| spark_conf | No | New Spark configuration properties | |
| custom_tags | No | New custom tags | |
| num_workers | No | New number of worker nodes | |
| cluster_name | No | New cluster name | |
| node_type_id | No | New node type for workers | |
| spark_version | No | New Spark version | |
| autoscale_max_workers | No | New maximum workers for autoscaling | |
| autoscale_min_workers | No | New minimum workers for autoscaling | |
| autotermination_minutes | No | New auto-termination timeout in minutes |