List DataLens Trino resource presets
datalens_trinoclusters_resource_presets_listList available machine-size presets for a DataLens cluster in a cloud environment, with pagination via limit and next tokens.
Instructions
The sizes a cluster's machines may have in a cloud environment, auto-paginated.
Experimental in the DataLens API and written from its document: not measured. An environment nothing knows answers 403 Permission denied, not 404.
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": {
"cloud_environment_id": "<cloud_environment_id>"
},
"name": "datalens_trinoclusters_resource_presets_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Return everything, ignoring the cap. A long listing is better taken in pieces: `limit`, then `next`. | |
| next | No | Go on from where an earlier call stopped, with the `next` it returned: the token carries its listing; give what is required again, and nothing else but the limit. | |
| limit | No | Max presets to return; omitted means the configured cap of a tool (YCLI__HTTP__MAX_TOOL_ITEMS). | |
| cloud_environment_id | Yes | The cloud environment the presets are of. |