npmTypes
Verify whether NPM packages include TypeScript definitions and retrieve the available type version.
Instructions
Check TypeScript types availability and version for a package
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": {
"packages": "<packages>"
},
"name": "npmTypes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packages | Yes | List of package names to check types for | |
| ignoreCache | No | Force a fresh lookup, ignoring the cache |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | ||
| results | No | ||
| summary | No |