get_symbol
Fetch code definitions by name, key path, or heading slug from parsed source, with modes for source, signature, or doc, and return all candidates for ambiguous matches.
Instructions
Fetch definitions by name, key path, or heading slug.
mode: "source" (default) returns the body, "signature" and "doc" omit it. A name matching several different symbols returns candidates rather than guessing. A name matching several definitions of the same thing — many Lua listeners on one event — returns all of them in "symbols". line: pick one definition by the start_line a candidate reported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | No | ||
| mode | No | source | |
| name | Yes | ||
| path | No | ||
| max_tokens | No |