poll_memory_events
Poll memory events since a sequence number to see what changed in the store, returning event details and a new tip to pass back as the next since_seq.
Instructions
What changed in the store since since_seq, from the memory_events table the row writer
appends to INSIDE its own transaction: {events: [...], tip: }. Each event is
{seq, ts, type, memory_id, agent, tenant, payload}; the automatic ones (record.added,
record.changed, record.removed) carry only id, key, status and mtype, never text, so tail
them and fetch the record with get/recall where the grants apply. Another process's write
is visible on the next call, no reload. Keep tip and pass it back as since_seq. event_type
"*" (or empty) means every type. A JSON-format store (INSPEXIMUS_STORE_FORMAT=json, an encrypted
store) has no event table, and the call is an error there rather than an empty feed.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "poll_memory_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| agent_id | No | ||
| since_seq | No | ||
| event_type | No |