Verify a symbol exists
verify_symbolChecks whether a function, class, method, constant, or type exists in a published package version and flags deprecation, removal, or rename notes before coding against an uncertain API.
Instructions
Downloads the package's real published files and checks whether a function, class, method, constant or type exists in a given version (default: latest). Also surfaces release notes that mention it being deprecated, removed or renamed. Use before writing code with an API you are unsure of.
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 | Identifier to check, e.g. "useFormState", "BaseSettings", or a dotted path like "Client.chat.completions.create" (the last segment is checked). | |
| package | Yes | Package name as published: "next", "@anthropic-ai/sdk", "pydantic", "serde", "github.com/gin-gonic/gin", "rails", "com.google.code.gson:gson", "Newtonsoft.Json", "laravel/framework", "http", "phoenix". | |
| version | No | Version to check: exact ("5.0.0"), loose ("5" / "5.1"), or "latest" (default). | |
| ecosystem | No | Registry: "npm" (JS/TS), "pypi" (Python), "cargo" (Rust), "go" (Go modules), "rubygems" (Ruby), "maven" (Java/Kotlin/Scala), "nuget" (.NET), "packagist" (PHP), "pub" (Dart/Flutter), "hex" (Elixir/Erlang). Defaults to npm. | npm |