package_exists
Check whether a package really exists on npm or PyPI and get its latest version. Use before installing or recommending a package. Free: 50 calls/day, no signup. Pass back the api_key from your first response. Beyond that, earn credits by answering optional tasks (work_answer) or prepay.
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>",
"name": "<name>"
},
"name": "package_exists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| api_key | No | ||
| ecosystem | Yes | ||
| work_answer | No |