jade.find
Locate declarations by name and get their source in one call—replaces grep for symbols. Exact names win; multiple queries supported.
Instructions
Locate declarations by name AND return their source in one call — the fused search-and-read that replaces grep -n 'func X' -A 30. Exact name matches win over substring ones. Use this instead of outline and read_range when you have not located the symbol yet. Pass queries to find several names in one call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Narrow by kind. func/function, type/struct/class/interface, method, const, var — spellings within a family are equivalent. Empty matches any. | |
| limit | No | Maximum declarations to return (default 5). Prefer budget. | |
| query | No | Symbol name, exact or partial. | |
| budget | No | Size of the answer in tokens. Cut at whole declarations; the rest is behind continue=<handle>. | |
| queries | No | Several symbol names in one call, instead of query. Each is answered as query would be. | |
| continue | No | Handle from a cut answer: its next page. | |
| maxLines | No | Maximum lines of each body (default 40). Prefer budget. | |
| dependency | No | Look in this dependency's source instead of the workspace, read-only: a crate, Go module, npm or Python package name. |