suggest_symbol
Find nearest valid export symbol names in an npm package when a symbol is misspelled or unknown, ranked by Levenshtein distance for correction.
Instructions
Find nearest valid export symbol names in an npm package using Levenshtein distance ranking.
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": {
"package": "<package>",
"symbol": "<symbol>"
},
"name": "suggest_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | maximum number of ranked suggestions | |
| symbol | Yes | misspelled or alleged symbol name | |
| package | Yes | npm package name | |
| version | No | package semver or tag |