Attach a REST catalog to a DataLens Trino cluster
datalens_trinoclusters_catalog_createAttach a REST catalog to a Trino cluster and return the operation, with a dry-run option to preview the request before making it.
Instructions
Attach a REST catalog to a Trino cluster and return the operation.
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": {
"cluster_id": "<cluster_id>",
"catalog": "<catalog>"
},
"name": "datalens_trinoclusters_catalog_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| catalog | Yes | The REST catalog to attach, by its id. | |
| dry_run | No | Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none). | |
| cluster_id | Yes | Id of the Trino cluster. |