Skip to content

List a package's versions

See every published version of one package.

  1. Know the package’s packageName and packageType — if you don’t, run list-org-packages first.

  2. Call the tool:

    list_package_versions { org: "your-org", packageType: "npm", packageName: "your-package" }
  3. 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.

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.