Search event text
search_eventsSearch event prose to locate specific deeds, or use year range to read historical spans. Narrow by event types to speed up queries.
Instructions
Full text search over the prose of every event in the world — the only way to find deeds, as opposed to names or properties. There is no index, so an unfiltered query on a large world takes a few seconds; passing eventTypes cuts that to milliseconds because excluded events are never rendered. Omit q to read a span of history instead of searching it: with fromYear/toYear alone it returns everything that happened then, and being free of any text to match it is the fastest query here. Give q or a filter — neither would mean every event in the world.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Substring of the event prose, case-insensitive. Omit to take everything the filters admit. | |
| limit | No | Maximum events shown, default 25. | |
| toYear | No | Latest year, inclusive. | |
| fromYear | No | Earliest year, inclusive. | |
| eventTypes | No | Comma separated raw event type names, exactly as printed in brackets on each event line (for example "hf died,created site"). Narrowing here also makes event search far faster. |