Lookup structured RedM discoveries and their relationships
discovery_lookupLook up complete structured RedM discoveries records: animation dictionary + clip, audio bank/soundset + sound, IMAP hash + coordinates, clothing items and wearable states, particle dictionary + effect, named flags, and textures with image links. Use for literal identifiers even deep inside the largest Lua tables. Pass name for exact member lookup, parent for exact dictionary/bank/group, search for keywords or a partial identifier, or hash for a 32-bit hex/decimal hash. Optional kind restricts domain; near finds IMAPs in a 3D radius. Returns complete records with source commit and line range; path discovery: can be opened with get_document. Paginate using returned nextOffset. For ped/weapon/object/door/vehicle model lookup use asset_lookup; for callable 64-bit natives use lookup_native; for behavior explanations use semantic_search. Examples: {kind:'animation',name:'ig2_jobbriefs_handover_p_woodstake01x'}, {kind:'animation',search:'piano'}, {kind:'imap',name:'bone_05'}, {kind:'wearable',name:'CLOTHING_ITEM_F_BOOTS_017_TINT_002'}. RedM only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | No | 32-bit hex, unsigned decimal, or signed decimal hash. | |
| kind | No | ||
| name | No | Exact clip, sound, IMAP, item, flag or texture name; case-insensitive. | |
| near | No | ||
| limit | No | ||
| offset | No | ||
| parent | No | Exact dictionary, audio bank/soundset, or returned parent group. | |
| search | No | Keywords or partial identifier, e.g. piano, volcano, SHORT_PANTS. | |
| namespace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | Yes | ||
| status | Yes | ||
| records | Yes | ||
| truncated | Yes | ||
| nextOffset | Yes |