Does this API exist in this version?
symbol_statusChecks whether an exported function, class, type or constant (or a Class.member) exists in a specific version of an npm package, using the package's TypeScript declarations. Returns whether it was found, its kind, its exact signature, the module path to import it from, whether it is deprecated (with the deprecation message) and, when it is not found, close-name suggestions. Read-only and requires no authentication. The first lookup for a package version can take up to about 25 seconds while its types are analyzed; a result with status "pending" and retry_after_s means call again after that delay. Limits: npm packages with TypeScript types only; exports that exist at runtime but have no type declaration are not visible. Use it before writing code that calls a library API you are not sure exists, or has the same signature, in the installed version, especially after a major upgrade. For a complete list of what changed between two versions use upgrade_impact.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | npm package name, e.g. "next", "zod" or "@tanstack/react-query" | |
| module | No | Restrict the lookup to one import path (a subpath export), e.g. "next/headers"; omit to search every exported module of the package | |
| symbol | Yes | Exported name or Class.member, letters, digits, "$" and "_" only, case-sensitive, e.g. "cookies", "z" or "ZodError.flatten" | |
| version | No | Exact version such as "15.0.0", or a major such as "15" (resolved to its latest stable release); omit for the latest stable release |