query_entities
Browse knowledge-layer entities by type (observation, rule, knowledge) to avoid duplicates before writing or to review a type.
Instructions
Browse knowledge-layer entities of one type — 'observation' (raw findings, recency order), 'rule' (verified directives, confidence order), or 'knowledge' (curated docs). Use to enumerate what exists before writing (avoid duplicates) or to review a type — for ranked retrieval on a question use search; for code entities use list_entities or search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Absolute path to the project root containing `.cogz/`. | |
| tags | No | `knowledge` only. | |
| limit | No | ||
| status | No | Status filter. Default: active only; `all` for every status. | |
| category | No | `knowledge` only. | |
| references | No | `observation`/`rule` only: filter to entities referencing this target UUID. | |
| entity_type | Yes | `observation` | `rule` | `knowledge`. For code entities use `list_entities` or `search` instead. |