list_entities
List all known entities with pagination
List all entities stored in memory with optional filtering and pagination.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
entityTypes | enum[] | OPTIONAL | all | Filter by entity types |
limit | number | OPTIONAL | 50 | Max results (1-100) |
offset | number | OPTIONAL | 0 | Pagination offset |
Example Request
Response
Compact Mode (Default)
When COMPACT_RESPONSES=true (default), responses use short keys to reduce token usage by 40-60%:
Key mapping: n=total count, e=entities, t=type
Verbose Mode
When COMPACT_RESPONSES=false:
Use Cases
List All People
List Projects
Paginated Browse
First page:
Next page:
Overview of All Entities
Pagination
Use offset and limit to paginate through large result sets:
total: Total count of matching entitiesreturned: Count of entities in this responsehasMore: Check ifoffset + returned < total
Sorting
Entities are returned sorted by updated_at in descending order (most recently updated first).
Errors
| Error | Cause | Fix |
|---|---|---|
| Invalid limit | Limit outside 1-100 range | Set limit between 1 and 100 |
| Invalid offset | Negative offset value | Use offset >= 0 |
| Invalid entity type | Unknown entity type in filter | Use valid types: person, concept, project, preference, fact, location, organization |
| Memory not enabled | ENABLE_MEMORY feature flag is false | Set ENABLE_MEMORY=true |
| Database error | Connection or query failure | Check DB connectivity and logs |