Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Delete an issue comment
GITHUB_DELETE_ISSUE_COMMENTPermanently deletes a specific comment by its ID from an issue or pull request, if the repository exists and the comment ID is valid.
Delete a label
GITHUB_DELETE_LABELPermanently removes an existing label from a repository.
Delete a milestone
GITHUB_DELETE_MILESTONEDeletes the specified milestone if it exists; this operation is idempotent, typically returning a 404 if the milestone is not found or already deleted.
Delete an organization
GITHUB_DELETE_ORGANIZATIONDeletes a GitHub organization and its repositories; this is a destructive action and the organization name will be unavailable for reuse for approximately 90 days.
Delete an organization secret
GITHUB_DELETE_ORGANIZATION_SECRETPermanently deletes a GitHub Actions secret from a GitHub organization, making it unavailable to workflows.
Delete an organization variable
GITHUB_DELETE_ORGANIZATION_VARIABLEDeletes a named GitHub Actions variable from a specified organization.
Delete an organization webhook
GITHUB_DELETE_ORGANIZATION_WEBHOOKDeletes a specific webhook, identified by `hook_id`, from an existing organization.
Delete a codespace from the organization
GITHUB_DELETE_ORG_CODESPACERequests deletion of a specified organization member's codespace. A successful response may indicate that deletion was accepted and is still in progress; a not-modified response is also reported as successful.
Delete a package for an organization
GITHUB_DELETE_ORG_PACKAGEDeletes a specific package in an organization; public packages with over 5,000 downloads cannot be deleted. Authentication, permission and not-found errors can be returned as response messages rather than raised.
Delete a package for the authenticated user
GITHUB_DELETE_PACKAGEPermanently deletes a specific package owned by the authenticated user; public packages downloaded over 5,000 times cannot be deleted via this API. A 404 is returned with success set to false rather than raised.
Delete package version
GITHUB_DELETE_PACKAGE_VERSIONTool to delete a package version using GitHub GraphQL API. Use when you need to remove a specific version of a package by its global node ID.
Delete package version for an organization
GITHUB_DELETE_PACKAGE_VERSION_FOR_AN_ORGANIZATIONDeletes a specific package version within an organization; requires admin permissions for packages with over 5,000 downloads.
Delete package version for a user
GITHUB_DELETE_PACKAGE_VERSION_FOR_A_USERDeletes a specific version of a package owned by the specified user. The response indicates whether deletion succeeded; authentication, permission, and not-found errors are returned as unsuccessful results.
Delete a pending review for a pull request
GITHUB_DELETE_PENDING_REVIEWDeletes a pending (unsubmitted) review from a pull request; this is only possible if the review has not yet been submitted.
Delete a project
GITHUB_DELETE_PROJECTDeletes the specified GitHub project (Projects V2) using the GraphQL API. Note: This action uses GitHub's Projects V2 GraphQL API. The legacy Projects (classic) REST API was sunset on April 1, 2025 and is no longer available. The project is permanently deleted and cannot be recovered. The user must have admin permissions for the project to delete it.
Delete a project field (column)
GITHUB_DELETE_PROJECT_COLUMNDeletes a project field (column) from a GitHub Projects V2 project using the GraphQL API. IMPORTANT: GitHub Classic Projects REST API was sunset on April 1, 2025. This action now uses the GitHub Projects V2 GraphQL API with the deleteProjectV2Field mutation. Note: The built-in Status field cannot be deleted as it is a core field in GitHub Projects V2. Only custom fields can be deleted.
Delete project item for user
GITHUB_DELETE_PROJECT_ITEM_FOR_USERTool to delete a project item for a user in GitHub Projects V2. Use when you need to remove an item from a user's project. Requires the project item's GraphQL node ID (starts with 'PVTI_'). Uses the GitHub GraphQL API deleteProjectV2Item mutation.
Delete repo codespace secret by name
GITHUB_DELETE_REPO_CODESPACE_SECRET_BY_NAMEDeletes a specific Codespace secret from a repository by its name; this action is idempotent and will succeed even if the secret doesn't exist.
Delete social accounts for the authenticated user
GITHUB_DELETE_SOCIAL_ACCOUNTS_FOR_THE_AUTHENTICATED_USERDeletes currently linked social media account URLs from the authenticated user's GitHub profile.
Delete User List
GITHUB_DELETE_USER_LISTTool to delete a GitHub user list using GraphQL. Use when you need to remove a user list from a GitHub account.