get_logs
Retrieve recent log lines from a SpacetimeDB database, optionally limiting the number of entries returned for debugging and monitoring.
Instructions
Get recent logs from the 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_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of log lines to fetch (default: 50) | |
| database | Yes | The database name. Required if no default is set. |