get_latest_version
Get the current stable version of a package from PyPI, npm, pub.dev, or crates.io. Specify the package name and ecosystem to retrieve the version number.
Instructions
Get the latest stable version of a package.
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_name": "<package_name>",
"ecosystem": "<ecosystem>"
},
"name": "get_latest_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ecosystem | Yes | The package ecosystem - one of: "python", "javascript", "dart", or "rust" | |
| package_name | Yes | The name of the package (e.g., "requests", "react", "http", "serde") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||