npm_types
Check if an npm package includes built-in TypeScript types or requires a @types/* companion package for type support.
Instructions
Check TypeScript type support for a package — whether it ships built-in types (types/typings field) or has a DefinitelyTyped companion (@types/* 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": {
"name": "<name>"
},
"name": "npm_types"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name (e.g. 'express' or '@anthropic-ai/sdk') | |
| version | No | Semver version or dist-tag (default: 'latest') |