package_preflight
Verify whether a specific npm or PyPI package version exists before installation, resolve the current/latest version, and report deprecation or yank state when available, plus license and runtime requirement. This is a public-registry package install preflight; it does not resolve dependency graphs or perform vulnerability analysis. Price: $0.002 USDC per successful call.
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": {
"ecosystem": "<ecosystem>",
"package": "<package>"
},
"name": "package_preflight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | Public package name to inspect. | |
| version | No | Package version whose public metadata should be checked. | |
| ecosystem | Yes | Public ecosystem value used to scope this lookup. |