Open Kioku Get Definition
get_definitionFind a symbol's definition location, file range, and body by its name. Use after resolving a symbol to retrieve its defining range and code for precise read-only navigation.
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. |