add_database_alias
Assign a friendly alias to a SpacetimeDB database identity, letting you reference the database by a readable name instead of its raw identity.
Instructions
Add a friendly alias to a database identity.
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": {
"identity": "<identity>",
"name": "<name>"
},
"name": "add_database_alias"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The alias to add | |
| identity | Yes | The database identity |