package_version
Check the latest or constraint-matching version of a package from various registries like npm, PyPI, Maven, and more.
Instructions
Look up the latest or constraint-satisfying version of a package from a registry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name (Packagist: vendor/package, Maven: groupId:artifactId, Go: module path, Swift: owner/repo on GitHub). | |
| ecosystem | Yes | Registry ecosystem (pypi, npm, packagist, crates, nuget, maven, rubygems, go, pub, swift). | |
| constraint | No | Optional version constraint such as '>=4.2,<5'. | |
| allow_prerelease | No | Whether pre-release versions may be selected. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |