List a package's versions
See every published version of one package.
-
Know the package’s
packageNameandpackageType— if you don’t, run list-org-packages first. -
Call the tool:
list_package_versions { org: "your-org", packageType: "npm", packageName: "your-package" } -
Read the result: an array of
{ id, name, createdAt }, one entry per version, newest and oldest both included — there is no built-in filtering or pagination cap applied by this tool.
Use the id values from this result as the versionId input to
get-package-version,
delete-package-version, or
restore-package-version.
Common mistake
Section titled “Common mistake”A high versionCount (visible from list_org_packages/get_org_package)
without visiting this tool tells you nothing about which versions are
old, orphaned, or safe to delete — you have to list the versions to make
that judgment. The package-audit skill flags high version counts as
worth reviewing, but never decides what to delete on its own.