Open Kioku Get Symbol Context
get_symbol_contextRetrieve a symbol's full definition, file location, enclosing scope, documentation comments, and surrounding code from the local index for in-depth context.
Instructions
Retrieve a comprehensive context bundle for one symbol, including its full definition body, file location and range, enclosing scope, documentation comments, and surrounding code context from the local index. Use to retrieve a comprehensive context bundle for one symbol, including its definition body, file location, enclosing scope, documentation comments, and surrounding code context when indexed. Returns more detail than get_definition. Do NOT use for simple definition lookup only (use get_definition), for fuzzy symbol search (use search_symbols), or for cross-reference tracing (use get_references). This is read-only and reads from the local index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The exact or partial name of the symbol to retrieve comprehensive context for. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | Wrapped non-object output, used for Markdown, TOON, or scalar responses. |