Create Spark Engine
create_spark_engineCreates a new Spark engine in IBM watsonx.data, configuring its origin, display name, and storage home for lakehouse workloads.
Instructions
Create a new Spark engine in watsonx.data.
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>",
"storage_name": "<storage_name>"
},
"name": "create_spark_engine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tags for the engine | |
| origin | Yes | Engine origin - "native", "external", or "discover" | |
| description | No | Engine description | |
| display_name | Yes | Display name for the engine | |
| storage_name | Yes | Storage/bucket name for engine_home (REQUIRED) | |
| default_config | No | Additional engine configuration | |
| default_version | No | Spark version (default: "3.5") | 3.5 |
| associated_catalogs | No | List of catalog IDs to associate |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||