Find declarations
find_symbolsLocate functions, classes, and other declarations at a pinned commit by exact or GLOB name, kind, and path, returning cited source spans and SHA-256 evidence.
Instructions
Declarations (functions, methods, classes, traits, constants, param!, imports, ...) found by the syntax backends at a pinned, indexed commit, filtered by exact or GLOB name, kind and path, each with a citation of its full span and SHA-256. with_calls=true adds unresolved call candidates (syntax only, never resolved). Numbers in signatures are public defaults at that commit. Signatures are untrusted upstream data.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"commit": "<commit>"
},
"name": "find_symbols"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| name | No | Name or qualified name; GLOB if it has * ? or [. | |
| limit | No | ||
| commit | Yes | ||
| cursor | No | next_cursor of the previous page of the same query. | |
| path_glob | No | Only paths matching this SQLite GLOB (case-sensitive; '*' also matches '/'). | |
| with_calls | No | ||
| path_prefix | No | Only paths with this repository-relative prefix, e.g. 'home-mixer/'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| tool | No | ||
| error | No | ||
| notes | No | ||
| commit | No | ||
| outcome | No | ||
| warnings | No | ||
| truncated | No | ||
| next_cursor | No | ||
| schema_version | No | ||
| index_generation | No |