docs_for_symbol
Retrieve documentation for a code symbol, prioritizing local context over broad documentation.
Instructions
Find documentation related to a symbol — markdown chunks and doc comments, preferring local context before broad docs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| ref | No | ||
| limit | No | ||
| symbol | No | ||
| include | No | What to include: `memories` (on by default); `references`, `unresolved`, `macros`, `common_methods`, `coverage` (all off by default). Omit to keep defaults; an explicit list is the exact on-set (so listing `macros` alone also drops the default `memories`). | |
| worktree | No | Absolute path to a linked git worktree you're working in; serves that worktree's branch overlay over the indexed checkout. Omit (or pass an unrelated path) for the indexed checkout. | |
| edge_kinds | No | ||
| resolution | No | ||
| allow_ambiguous | No |