get_entity
Retrieve a single threat-model entity by type and ID—asset, attacker, component, trust boundary, or assumption—with its native fields and deletion status, so callers can read current security posture records directly.
Instructions
Get a single entity of any core type by ID. Read-only.
Dispatches on entity_type to the per-type read and returns that
type's native record as-is (not wrapped in an array):
asset— the asset's typed fields. Soft-deleted assets carrydeleted: true; the caller decides whether to surface them.entity_ide.g.A-01.attacker— the attacker with its factor decomposition. Soft-deleted attackers carrydeleted: true.entity_ide.g.T-03.component— the component. Speculative components (repo_url="") are returned as-is: the empty repo IS the lifecycle state, not an error.entity_ide.g.CMP-01.trust_boundary— the boundary incl. itspassesset (closed-vocabulary subset of{Network, Adjacent, Local, Physical}).entity_ide.g.TB-Net.assumption— the assumption with its override applied (mirrorslist_assumptions' merge for one entity: typed fields, the structuredexclusionpredicate when present, and the override layer — status / justification / linked CO IDs / target model). Soft-deleted assumptions carrydeleted: true.entity_ide.g.AS-01.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | ID of the threat model. | |
| entity_id | Yes | ID of the entity to fetch. | |
| entity_type | Yes | Which entity to read — one of ``asset``, ``attacker``, ``component``, ``trust_boundary``, ``assumption``. | |
| server_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||