package_versions
Retrieve package summaries, source repository, and version history with dates, prerelease, and withdrawn flags to choose a safe upgrade target.
Instructions
What a package is and which versions of it exist: summary, source repository, latest stable release, and the newest releases with their dates, prerelease and withdrawn flags. Use it to pick an upgrade target or to check that a version has not been withdrawn.
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_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| ecosystem | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |