get_schema
Retrieves the tables and reducers of a SpacetimeDB database so you can inspect its schema and identify available queries and functions.
Instructions
Get the tables and reducers (functions) of a database.
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_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | The database name. Required if no default is set. |