get_entity
Retrieves Hammer entity keyvalues, inputs, outputs, inherited members, and their defining base for a game and classname, helping you verify available properties and choices.
Instructions
Get a Hammer entity: keyvalues (with choices), inputs and outputs, including inherited ones.
defined_in shows which base declares each member.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | Yes | Game id: one of cs2, deadlock | |
| side | No | server | |
| classname | Yes | Hammer classname, or 'side:classname' from a search key | |
| include_inherited | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | ||
| bases | No | ||
| origin | No | runtime | |
| members | No | ||
| fgd_file | No | Valve FGD file that defines the class | |
| tool_tip | No | ||
| classname | Yes | ||
| cpp_class | No | ||
| tool_name | No | Name in Hammer's entity tool | |
| class_type | Yes | ||
| tool_group | No | ||
| description | No | ||
| inheritance | No | Runtime ancestor chain, nearest first | |
| fgd_inheritance | No | Valve FGD base classes, nearest first |