query_episodes
Retrieve episodic vault records to see current truths, filter by entity, or query what was true or known at a past time; optional text ranks results.
Instructions
Retrieve episodes from an episodic vault. By default only statements that still hold are returned. Filter by entity for 'everything about X', pass valid_at to ask what was true at a past moment, or known_at to ask what the vault had already learned by then. event_metadata_filters keeps episodes that have a confirm, dispute, close or reopen carrying those keys; with known_at, only events recorded by then match, including attestations inherited by a revision. Query text is optional and ranks results; without it the newest come first.
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": {
"vault_name": "<vault_name>"
},
"name": "query_episodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | ||
| entities | No | ||
| known_at | No | ||
| order_by | No | ||
| valid_at | No | ||
| vault_name | Yes | ||
| include_closed | No | ||
| event_metadata_filters | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| results | Yes | ||
| order_by | Yes | ||
| vault_name | Yes |