Skip to content

Get a single org package

Look up one package by name and type, without listing the whole registry.

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

  2. Call the tool:

    get_org_package { org: "your-org", packageType: "npm", packageName: "your-package" }
  3. Read the result: { id, name, packageType, visibility, versionCount }.

Passing the wrong packageType for the package’s actual registry (most often docker vs container) returns a 404 github_api_error, not a helpful “wrong type” message — GitHub treats each type as a fully separate namespace under the same name.