get_package_for_authenticated_user
Retrieve a package owned by the authenticated user using its type and name, returning metadata like version count, visibility, repository link, and timestamps. Requires read:packages scope.
Instructions
Get a specific package owned by the authenticated user.Returns the package metadata including name, type, version count, visibility, repository link, and timestamps. Requires the read:packages token scope. Docs: https://docs.github.com/en/rest/packages/packages#get-a-package-for-the-authenticated-user
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package_name | Yes | The name of the package. | |
| package_type | Yes | The type of package. One of: npm, maven, rubygems, docker, nuget, container. Packages pushed to GitHub Container Registry (ghcr.io) have type "container". Packages pushed to the legacy Docker registry (docker.pkg.github.com) have type "docker". |