describeType
Get the complete specification for an entity kind. Verify its registration and structure to ensure proper reuse before defining or minting new entities.
Instructions
Describe a single entity kind in full: displayName, description, parent (extends), child kinds, external-vocabulary aliases (sameAs), provenance lane, and how many entities currently carry it. The deep counterpart to introspect's cheap kind index — call it to confirm a kind's shape and reuse before minting a near-duplicate with defineEntityKind, or before createEntity. Accepts a canonical name (person, user:vehicle) or a bare local name (vehicle) that resolves to the user: kind when unambiguous. Returns E_NOT_FOUND with near-name suggestions when the kind is not registered.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Entity kind to describe, e.g. person or user:vehicle. A bare local name (vehicle) also resolves to the user: kind when unambiguous. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Canonical kind name, e.g. user:vehicle. | |
| parent | No | Parent kind in the subtype hierarchy (extends). Absent for root kinds. | |
| sameAs | No | Alias IRIs to external vocabularies (schema.org, Wikidata, FOAF, …). | |
| addedBy | Yes | Who registered the kind: seed, llm, user, or extension. | |
| children | No | Registered kinds that extend this one. | |
| provenance | Yes | Namespace lane: core, user, or extension:<name>. | |
| usageCount | Yes | Number of entities currently carrying this kind. | |
| description | Yes | One-sentence explanation of the kind. | |
| displayName | Yes | Human-readable label. | |
| propertySchema | No | JSON Schema for the kind's typed properties (attr_schema). Present only when the kind declares typed properties; use this to validate or populate the properties field in createEntity. |