get_entity
Retrieve a single O3DE entity's name, transform, parent, and components as JSON to inspect or debug entity data in the editor.
Instructions
Return one entity's name, transform, parent and component list as JSON.
Served natively by the AiCompanion gem's C++ (get_entity request
type, gem 0.4.0 or later) with no editor Python, so it is the cheapest
way to look at a single entity and works in the gem's secure mode. On
gem 0.6.0 the reply also carries non_uniform_scale and
effective_scale, and ids are decimal strings. An unknown id is the
error not_found (gem 0.5.0 and earlier answered with the gem's own
{"entity_id": ..., "error": ...} object instead).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |