query_entities
Find entities in a spatial world model by keyword, type, region, proximity, tags, or status. Look up a specific entity's location and movement history with its ID.
Instructions
Find entities by keyword query (FTS5 search), type, region, spatial proximity, tags, or status. Alternatively, provide entity_id for single-entity location and historical trajectory lookup.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Filter by matching tags | |
| type | No | Filter by entity type | |
| limit | No | Maximum number of entities to return (default: 50) | |
| query | No | Full-text search query across entity names, tags, and properties | |
| status | No | Filter by status | |
| project | No | Optional project identifier | |
| entity_id | No | Specific entity ID to look up directly (returns location and state) | |
| region_id | No | Filter by region ID | |
| max_distance | No | Maximum distance radius from near_position | |
| history_limit | No | Maximum number of history events to return when include_history is true (default: 20) | |
| near_position | No | Center position for proximity distance search | |
| min_confidence | No | Minimum confidence score (e.g. 0.5 to filter out decayed entities) | |
| include_history | No | If true and entity_id is specified, returns recent movement/event history |