create_catalog_alias
Create a memorable alias for an existing catalog, enabling access via a custom name instead of numeric ID.
Instructions
Create an alias for an existing catalog.
Aliases allow accessing a catalog by a memorable name instead of its numeric ID. For example, instead of /ermrest/catalog/21, you can use /ermrest/catalog/eye-ai.
Args: hostname: Server hostname (e.g., "www.eye-ai.org"). alias_name: The alias identifier (e.g., "my-project", "eye-ai"). Must be unique on the server. catalog_id: The numeric ID of the catalog to alias. name: Optional display name for the alias. description: Optional description of the alias.
Returns: JSON with status and alias details.
Example: create_catalog_alias("localhost", "my-project", "45", "My ML Project") -> {"status": "created", "alias": "my-project", "target": "45"}
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>",
"alias_name": "<alias_name>",
"catalog_id": "<catalog_id>"
},
"name": "create_catalog_alias"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| hostname | Yes | ||
| alias_name | Yes | ||
| catalog_id | Yes | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |