get_user_hovercard
Retrieve a GitHub user's hovercard context, displaying relationship messages such as 'Owns this repository' or 'Contributor'. Optionally narrow results to a specific repository, issue, pull request, or organization.
Instructions
Get contextual information about a GitHub user (their "hovercard") as it would appear in the GitHub web UI. Returns a list of context messages (e.g. "Owns this repository", "Contributor"). Optionally scope the context to a specific subject (a repository, issue, pull request, or organization) by providing subject_type and subject_id together — both are required when either is supplied. Docs: https://docs.github.com/en/rest/users/users#get-contextual-information-for-a-user
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes | The GitHub username (login) to get hovercard context for. | |
| subject_id | No | The numeric ID (as a string) of the subject_type entity. Required when subject_type is set. | |
| subject_type | No | The entity type that provides the context. Must be paired with subject_id. One of: organization, repository, issue, pull_request. |