Open Kioku Get Definition
get_definitionRetrieve the definition location, file range, and body of a named symbol (e.g., function, class). Use after resolving a symbol name to access its defining code.
Instructions
Retrieve the definition location, file range, and body of a symbol (function, class, struct, trait, module) by its name. Use after resolving a symbol name to retrieve its defining range and body. Prefer search_symbols for candidate discovery and get_symbol_context when surrounding references and documentation are needed. This is read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The exact or partial name of the symbol to find the definition for. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | Wrapped non-object output, used for Markdown, TOON, or scalar responses. |