create_catalog
Create a new DerivaML catalog initialized with Dataset, Execution, Workflow, Feature, and vocabulary tables. Automatically connects to the new catalog.
Instructions
Create a new DerivaML catalog with all ML schema tables.
Creates a fresh catalog with Dataset, Execution, Workflow, Feature, and vocabulary tables. Automatically connects to the new catalog.
Args: hostname: Server hostname (e.g., "localhost", "deriva.example.org"). project_name: Name for the project, becomes the domain schema name. catalog_alias: Optional alias for the catalog. If provided, creates an alias that allows accessing the catalog by name instead of numeric ID (e.g., /ermrest/catalog/my-project instead of /ermrest/catalog/45).
Returns: JSON with status, hostname, catalog_id, catalog_alias (if created), domain_schema, project_name.
Example: create_catalog("localhost", "my_ml_project", "my-project")
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": {
"hostname": "<hostname>",
"project_name": "<project_name>"
},
"name": "create_catalog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | Yes | ||
| project_name | Yes | ||
| catalog_alias | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |