Create DataLens Trino cluster
datalens_trinoclusters_createCreate a Trino cluster in DataLens and return the operation used to provision it. Confirm billing with the user before running.
Instructions
Make a Trino cluster and return the operation that makes it.
A cluster is cloud resources, billed while it runs: ask the person before calling. Experimental in the DataLens API, written from its document and never called: not measured.
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": {
"collection_id": "<collection_id>",
"cloud_environment_id": "<cloud_environment_id>",
"name": "<name>",
"worker_config": "<worker_config>"
},
"name": "datalens_trinoclusters_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The cluster's name. | |
| labels | No | Labels, a name to a value. | |
| dry_run | No | Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none). | |
| description | No | A description. | |
| collection_id | Yes | The DataLens collection to make it in. | |
| trino_version | No | The version of Trino; the service's own when left out. | |
| worker_config | Yes | The workers: their resource preset and how many there may be. | |
| catalogs_config | No | The REST catalogs to attach. | |
| cloud_environment_id | Yes | The cloud environment to make it in. |