find_memories_by_entity
Look up entities by name and return the events they appear in.
Use this when the user names a person, project, system, or term and wants
what is recorded about it. Do not use it for an open question about a topic;
use `search_memory` for that.
Read-only. Scope is decided by the server and reported in `searched_scope`.
Args:
entity_name: Substring to match, case-insensitive. May be empty when
`entity_id` is given.
entity_id: Exact entity id (`ent_...`), for following an entity a
previous response named. Same scope as a name lookup; it takes
precedence over `entity_name`.
limit: Max events per entity (1-50, clamped).
Returns:
`{query_name, hint, suggestion, matches, tag_matches, searched_scope}`.
The same substring also matches tags, which arrive in `tag_matches`.
Each match's `top_partners` is the co-occurrence ranking across the whole
scope, which is what "which entity co-occurs most with X?" asks for;
`hint.entities[].hit_count` counts only within this response's sample.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max events per entity (1-50, clamped). | |
| entity_id | No | Exact entity id (`ent_...`), for following an entity a previous response named. Same scope as a name lookup; it takes precedence over `entity_name`. | |
| entity_name | No | Substring to match, case-insensitive. May be empty when `entity_id` is given. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||