verify_symbol
Checks whether a named or default export exists in an npm package by analyzing TypeScript declaration files, preventing incorrect imports and symbol assumptions.
Instructions
Verify if an export symbol exists in an npm package using TypeScript compiler AST analysis on .d.ts files.
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": "verify_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | named or default export symbol to verify (e.g. "z", "createApp") | |
| package | Yes | npm package name | |
| subpath | No | subpath export if checking deep imports | |
| version | No | package semver or tag |