resolve_symbol
Resolve ambiguous symbol names by providing ranked qualified matches, using path hints and type filters to find the most relevant code symbols.
Instructions
Disambiguate a short symbol name into ranked qualified matches.
Resolves ambiguous names like 'add' to specific qualified symbols ranked by relevance (path match, non-test preference, centrality).
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": {
"query": "<query>"
},
"name": "resolve_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | filter by type (function, class, method, etc.) | |
| limit | No | max results (default 10) | |
| query | Yes | symbol name to resolve | |
| path_hint | No | prefer results from files matching this path |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||