Create Schema
create_schemaCreates a new schema in a watsonx.data catalog by specifying the engine, catalog, storage path, and schema name, enabling organized data storage and querying.
Instructions
Create a new schema in a watsonx.data catalog.
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": {
"catalog_id": "<catalog_id>",
"schema_name": "<schema_name>",
"engine_id": "<engine_id>",
"custom_path": "<custom_path>"
},
"name": "create_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine_id | Yes | Engine ID to use for the operation - must be a Presto or Prestissimo engine (from list_engines) | |
| catalog_id | Yes | Catalog identifier - must be an object storage catalog (e.g., "iceberg_data", "hive_data") | |
| custom_path | Yes | Path within bucket where schema will be created (REQUIRED, must be at least 1 character). If unsure, use the schema_name as the custom_path. | |
| schema_name | Yes | Name for the new schema | |
| storage_name | No | Storage/bucket name for the schema (REQUIRED for object storage catalogs) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||