moose_lookup
Get the exact MOOSE Lua documentation record for a class or method, with signature, return docs, and inheritance chain. Just provide the class name; optionally specify a method.
Instructions
Returns one precise record from the indexed Moose.lua: the LDoc documentation block, the real Lua function signature, return docs, and the inheritance chain up to BASE. Provide class (required) and optionally method. When method is omitted, returns the class record only. If the method exists on a parent class, it is returned flagged as inheritedFrom. Token-budget: one small record, never a dump.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| class | Yes | MOOSE class name, e.g. "SPAWN", "UNIT", "SCHEDULER". | |
| method | No | Optional method name, e.g. "New", "Spawn". Omit to get just the class record. |