get_database_identity
Retrieves the identity tied to a specified SpacetimeDB database name, so you can confirm which instance owns a database before running queries or calling reducers.
Instructions
Get the identity for a database name.
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": {
"database": "<database>"
},
"name": "get_database_identity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | The database name. Required if no default is set. |