create_snapshot_strategy
Add aggregate snapshot table and retrieval logic to reduce event replay cost
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": {
"aggregate": "<aggregate>",
"snapshotFrequency": "<snapshotFrequency>",
"database": "<database>"
},
"name": "create_snapshot_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | Target database | |
| aggregate | Yes | Aggregate name | |
| snapshotFrequency | Yes | Take snapshot every N events |