Create Presto Engine
create_presto_engineCreates a new Presto engine in watsonx.data with configurable coordinator, worker, and autoscaling settings, enabling users to provision query engines and associate catalogs.
Instructions
Create a new Presto engine in watsonx.data.
EXAMPLE PAYLOAD: { "origin": "native", "display_name": "My-Presto-Engine", "description": "Presto engine with autoscaling", "tags": [], "associated_catalogs": [], "configuration": { "size_config": "custom", "coordinator": { "node_type": "starter", "quantity": 1 }, "worker": { "node_type": "starter", "quantity": 1 }, "autoscaling_enabled": true, "autoscaling_config": { "type": "cpu", "target": 40, "min_worker_quantity": 1, "max_worker_quantity": 18, "query_termination_grace_period_min": 1, "scale_in_stabilization_window_min": 5, "scaling_step_size": 1 } } }
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": {
"origin": "<origin>",
"display_name": "<display_name>",
"configuration": "<configuration>"
},
"name": "create_presto_engine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | (optional) Tags for the engine | |
| origin | Yes | (required) "native" | |
| engine_id | No | (optional) Custom engine ID (must match pattern: presto-0 through presto-1000) | |
| description | No | (optional) Engine description 50 characters max | |
| display_name | Yes | (required) Display name for the engine | |
| configuration | Yes | (required) Engine configuration with required fields: - size_config: (required) "custom" (recommended) or predefined options (may be supported) - coordinator: (required) {"node_type": typically "starter" or "cache_optimized", "quantity": 1} - worker: (required) {"node_type": typically "starter" or "cache_optimized", "quantity": 1-18 recommended} - autoscaling_enabled: (optional) boolean to enable autoscaling - autoscaling_config: (required if autoscaling_enabled is true) autoscaling configuration object (see AUTOSCALING section) | |
| associated_catalogs | No | (optional) List of catalog names to associate |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||