GitHub · Capability

github-repos-api — Delete

github-repos-api — Delete. 19 operations. Lead operation: GitHub Delete Repository. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubDelete

What You Can Do

DELETE
Deleterepository — GitHub Delete Repository
/v1/repos/{owner}/{repo}
DELETE
Deletecommitcomment — GitHub Delete Commit Comment
/v1/repos/{owner}/{repo}/comments/{comment-id}
DELETE
Deletecommitcommentreaction — GitHub Delete Commit Comment Reaction
/v1/repos/{owner}/{repo}/comments/{comment-id}/reactions/{reaction-id}
DELETE
Deletefile — GitHub Delete File
/v1/repos/{owner}/{repo}/contents/{path}
DELETE
Deletedeployment — GitHub Delete Deployment
/v1/repos/{owner}/{repo}/deployments/{deployment-id}
DELETE
Deleteanenvironment — GitHub Delete an Environment
/v1/repos/{owner}/{repo}/environments/{environment-name}
DELETE
Deletedeploymentbranchpolicy — GitHub Delete Deployment Branch Policy
/v1/repos/{owner}/{repo}/environments/{environment-name}/deployment-branch-policies/{branch-policy-id}
DELETE
Deleteanenvironmentsecret — GitHub Delete an Environment Secret
/v1/repos/{owner}/{repo}/environments/{environment-name}/secrets/{secret-name}
DELETE
Deleteanenvironmentvariable — GitHub Delete an Environment Variable
/v1/repos/{owner}/{repo}/environments/{environment-name}/variables/{name}
DELETE
Deletereference — GitHub Delete Reference
/v1/repos/{owner}/{repo}/git/refs/{ref}
DELETE
Deletedeploykey — GitHub Delete Deploy Key
/v1/repos/{owner}/{repo}/keys/{key-id}
DELETE
Deletelabel — GitHub Delete Label
/v1/repos/{owner}/{repo}/labels/{name}
DELETE
Deletemilestone — GitHub Delete Milestone
/v1/repos/{owner}/{repo}/milestones/{milestone-number}
DELETE
Deletegithubenterpriseserverpagessite — GitHub Delete Github Enterprise Server Pages Site
/v1/repos/{owner}/{repo}/pages
DELETE
Deletereleaseasset — GitHub Delete Release Asset
/v1/repos/{owner}/{repo}/releases/assets/{asset-id}
DELETE
Deleterelease — GitHub Delete Release
/v1/repos/{owner}/{repo}/releases/{release-id}
DELETE
Deletereleasereaction — GitHub Delete Release Reaction
/v1/repos/{owner}/{repo}/releases/{release-id}/reactions/{reaction-id}
DELETE
Deleterepositorysubscription — GitHub Delete Repository Subscription
/v1/repos/{owner}/{repo}/subscription
DELETE
Deletetagprotectionstateforrepository — GitHub Delete Tag Protection State for Repository
/v1/repos/{owner}/{repo}/tags/protection/{tag-protection-id}

MCP Tools

github-delete-repository

GitHub Delete Repository

idempotent
github-delete-commit-comment

GitHub Delete Commit Comment

idempotent
github-delete-commit-comment-reaction

GitHub Delete Commit Comment Reaction

idempotent
github-delete-file

GitHub Delete File

idempotent
github-delete-deployment

GitHub Delete Deployment

idempotent
github-delete-environment

GitHub Delete an Environment

idempotent
github-delete-deployment-branch-policy

GitHub Delete Deployment Branch Policy

idempotent
github-delete-environment-secret

GitHub Delete an Environment Secret

idempotent
github-delete-environment-variable

GitHub Delete an Environment Variable

idempotent
github-delete-reference

GitHub Delete Reference

idempotent
github-delete-deploy-key

GitHub Delete Deploy Key

idempotent
github-delete-label

GitHub Delete Label

idempotent
github-delete-milestone

GitHub Delete Milestone

idempotent
github-delete-github-enterprise-server

GitHub Delete Github Enterprise Server Pages Site

idempotent
github-delete-release-asset

GitHub Delete Release Asset

idempotent
github-delete-release

GitHub Delete Release

idempotent
github-delete-release-reaction

GitHub Delete Release Reaction

idempotent
github-delete-repository-subscription

GitHub Delete Repository Subscription

idempotent
github-delete-tag-protection-state

GitHub Delete Tag Protection State for Repository

idempotent

Capability Spec

repo-tags-delete.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: github-repos-api — Delete
  description: 'github-repos-api — Delete. 19 operations. Lead operation: GitHub Delete Repository. Self-contained Naftiko
    capability covering one Github business surface.'
  tags:
  - Github
  - Delete
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: repo-tags-delete
    baseUri: ''
    description: github-repos-api — Delete business capability. Self-contained, no shared references.
    resources:
    - name: repos-owner-repo
      path: /repos/{owner}/{repo}
      operations:
      - name: deleterepository
        method: DELETE
        description: GitHub Delete Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-comments-comment_id
      path: /repos/{owner}/{repo}/comments/{comment_id}
      operations:
      - name: deletecommitcomment
        method: DELETE
        description: GitHub Delete Commit Comment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-comments-comment_id-reactions-reaction_id
      path: /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}
      operations:
      - name: deletecommitcommentreaction
        method: DELETE
        description: GitHub Delete Commit Comment Reaction
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-contents-path
      path: /repos/{owner}/{repo}/contents/{path}
      operations:
      - name: deletefile
        method: DELETE
        description: GitHub Delete File
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: path
          in: path
          type: string
          description: path parameter
          required: true
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-deployments-deployment_id
      path: /repos/{owner}/{repo}/deployments/{deployment_id}
      operations:
      - name: deletedeployment
        method: DELETE
        description: GitHub Delete Deployment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-environments-environment_name
      path: /repos/{owner}/{repo}/environments/{environment_name}
      operations:
      - name: deleteanenvironment
        method: DELETE
        description: GitHub Delete an Environment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-environments-environment_name-deployment-branch-policies-branch
      path: /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}
      operations:
      - name: deletedeploymentbranchpolicy
        method: DELETE
        description: GitHub Delete Deployment Branch Policy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-environments-environment_name-secrets-secret_name
      path: /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}
      operations:
      - name: deleteanenvironmentsecret
        method: DELETE
        description: GitHub Delete an Environment Secret
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-environments-environment_name-variables-name
      path: /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}
      operations:
      - name: deleteanenvironmentvariable
        method: DELETE
        description: GitHub Delete an Environment Variable
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-git-refs-ref
      path: /repos/{owner}/{repo}/git/refs/{ref}
      operations:
      - name: deletereference
        method: DELETE
        description: GitHub Delete Reference
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-keys-key_id
      path: /repos/{owner}/{repo}/keys/{key_id}
      operations:
      - name: deletedeploykey
        method: DELETE
        description: GitHub Delete Deploy Key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-labels-name
      path: /repos/{owner}/{repo}/labels/{name}
      operations:
      - name: deletelabel
        method: DELETE
        description: GitHub Delete Label
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          required: true
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-milestones-milestone_number
      path: /repos/{owner}/{repo}/milestones/{milestone_number}
      operations:
      - name: deletemilestone
        method: DELETE
        description: GitHub Delete Milestone
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-pages
      path: /repos/{owner}/{repo}/pages
      operations:
      - name: deletegithubenterpriseserverpagessite
        method: DELETE
        description: GitHub Delete Github Enterprise Server Pages Site
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-releases-assets-asset_id
      path: /repos/{owner}/{repo}/releases/assets/{asset_id}
      operations:
      - name: deletereleaseasset
        method: DELETE
        description: GitHub Delete Release Asset
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-releases-release_id
      path: /repos/{owner}/{repo}/releases/{release_id}
      operations:
      - name: deleterelease
        method: DELETE
        description: GitHub Delete Release
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-releases-release_id-reactions-reaction_id
      path: /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}
      operations:
      - name: deletereleasereaction
        method: DELETE
        description: GitHub Delete Release Reaction
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-subscription
      path: /repos/{owner}/{repo}/subscription
      operations:
      - name: deleterepositorysubscription
        method: DELETE
        description: GitHub Delete Repository Subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-tags-protection-tag_protection_id
      path: /repos/{owner}/{repo}/tags/protection/{tag_protection_id}
      operations:
      - name: deletetagprotectionstateforrepository
        method: DELETE
        description: GitHub Delete Tag Protection State for Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    authentication:
      type: bearer
      token: '{{env.GITHUB_API_KEY}}'
  exposes:
  - type: rest
    namespace: repo-tags-delete-rest
    port: 8080
    description: REST adapter for github-repos-api — Delete. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/repos/{owner}/{repo}
      name: repos-owner-repo
      description: REST surface for repos-owner-repo.
      operations:
      - method: DELETE
        name: deleterepository
        description: GitHub Delete Repository
        call: repo-tags-delete.deleterepository
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/comments/{comment-id}
      name: repos-owner-repo-comments-comment-id
      description: REST surface for repos-owner-repo-comments-comment_id.
      operations:
      - method: DELETE
        name: deletecommitcomment
        description: GitHub Delete Commit Comment
        call: repo-tags-delete.deletecommitcomment
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/comments/{comment-id}/reactions/{reaction-id}
      name: repos-owner-repo-comments-comment-id-reactions-reaction-id
      description: REST surface for repos-owner-repo-comments-comment_id-reactions-reaction_id.
      operations:
      - method: DELETE
        name: deletecommitcommentreaction
        description: GitHub Delete Commit Comment Reaction
        call: repo-tags-delete.deletecommitcommentreaction
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/contents/{path}
      name: repos-owner-repo-contents-path
      description: REST surface for repos-owner-repo-contents-path.
      operations:
      - method: DELETE
        name: deletefile
        description: GitHub Delete File
        call: repo-tags-delete.deletefile
        with:
          path: rest.path
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/deployments/{deployment-id}
      name: repos-owner-repo-deployments-deployment-id
      description: REST surface for repos-owner-repo-deployments-deployment_id.
      operations:
      - method: DELETE
        name: deletedeployment
        description: GitHub Delete Deployment
        call: repo-tags-delete.deletedeployment
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/environments/{environment-name}
      name: repos-owner-repo-environments-environment-name
      description: REST surface for repos-owner-repo-environments-environment_name.
      operations:
      - method: DELETE
        name: deleteanenvironment
        description: GitHub Delete an Environment
        call: repo-tags-delete.deleteanenvironment
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/environments/{environment-name}/deployment-branch-policies/{branch-policy-id}
      name: repos-owner-repo-environments-environment-name-deployment-branch-policies-branch
      description: REST surface for repos-owner-repo-environments-environment_name-deployment-branch-policies-branch.
      operations:
      - method: DELETE
        name: deletedeploymentbranchpolicy
        description: GitHub Delete Deployment Branch Policy
        call: repo-tags-delete.deletedeploymentbranchpolicy
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/environments/{environment-name}/secrets/{secret-name}
      name: repos-owner-repo-environments-environment-name-secrets-secret-name
      description: REST surface for repos-owner-repo-environments-environment_name-secrets-secret_name.
      operations:
      - method: DELETE
        name: deleteanenvironmentsecret
        description: GitHub Delete an Environment Secret
        call: repo-tags-delete.deleteanenvironmentsecret
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/environments/{environment-name}/variables/{name}
      name: repos-owner-repo-environments-environment-name-variables-name
      description: REST surface for repos-owner-repo-environments-environment_name-variables-name.
      operations:
      - method: DELETE
        name: deleteanenvironmentvariable
        description: GitHub Delete an Environment Variable
        call: repo-tags-delete.deleteanenvironmentvariable
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/git/refs/{ref}
      name: repos-owner-repo-git-refs-ref
      description: REST surface for repos-owner-repo-git-refs-ref.
      operations:
      - method: DELETE
        name: deletereference
        description: GitHub Delete Reference
        call: repo-tags-delete.deletereference
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/keys/{key-id}
      name: repos-owner-repo-keys-key-id
      description: REST surface for repos-owner-repo-keys-key_id.
      operations:
      - method: DELETE
        name: deletedeploykey
        description: GitHub Delete Deploy Key
        call: repo-tags-delete.deletedeploykey
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/labels/{name}
      name: repos-owner-repo-labels-name
      description: REST surface for repos-owner-repo-labels-name.
      operations:
      - method: DELETE
        name: deletelabel
        description: GitHub Delete Label
        call: repo-tags-delete.deletelabel
        with:
          name: rest.name
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/milestones/{milestone-number}
      name: repos-owner-repo-milestones-milestone-number
      description: REST surface for repos-owner-repo-milestones-milestone_number.
      operations:
      - method: DELETE
        name: deletemilestone
        description: GitHub Delete Milestone
        call: repo-tags-delete.deletemilestone
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/pages
      name: repos-owner-repo-pages
      description: REST surface for repos-owner-repo-pages.
      operations:
      - method: DELETE
        name: deletegithubenterpriseserverpagessite
        description: GitHub Delete Github Enterprise Server Pages Site
        call: repo-tags-delete.deletegithubenterpriseserverpagessite
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/releases/assets/{asset-id}
      name: repos-owner-repo-releases-assets-asset-id
      description: REST surface for repos-owner-repo-releases-assets-asset_id.
      operations:
      - method: DELETE
        name: deletereleaseasset
        description: GitHub Delete Release Asset
        call: repo-tags-delete.deletereleaseasset
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/releases/{release-id}
      name: repos-owner-repo-releases-release-id
      description: REST surface for repos-owner-repo-releases-release_id.
      operations:
      - method: DELETE
        name: deleterelease
        description: GitHub Delete Release
        call: repo-tags-delete.deleterelease
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/releases/{release-id}/reactions/{reaction-id}
      name: repos-owner-repo-releases-release-id-reactions-reaction-id
      description: REST surface for repos-owner-repo-releases-release_id-reactions-reaction_id.
      operations:
      - method: DELETE
        name: deletereleasereaction
        description: GitHub Delete Release Reaction
        call: repo-tags-delete.deletereleasereaction
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/subscription
      name: repos-owner-repo-subscription
      description: REST surface for repos-owner-repo-subscription.
      operations:
      - method: DELETE
        name: deleterepositorysubscription
        description: GitHub Delete Repository Subscription
        call: repo-tags-delete.deleterepositorysubscription
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/tags/protection/{tag-protection-id}
      name: repos-owner-repo-tags-protection-tag-protection-id
      description: REST surface for repos-owner-repo-tags-protection-tag_protection_id.
      operations:
      - method: DELETE
        name: deletetagprotectionstateforrepository
        description: GitHub Delete Tag Protection State for Repository
        call: repo-tags-delete.deletetagprotectionstateforrepository
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: repo-tags-delete-mcp
    port: 9090
    transport: http
    description: MCP adapter for github-repos-api — Delete. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: github-delete-repository
      description: GitHub Delete Repository
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: repo-tags-delete.deleterepository
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-commit-comment
      description: GitHub Delete Commit Comment
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: repo-tags-delete.deletecommitcomment
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-commit-comment-reaction
      description: GitHub Delete Commit Comment Reaction
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: repo-tags-delete.deletecommitcommentreaction
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-file
      description: GitHub Delete File
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: repo-tags-delete.deletefile
      with:
        path: tools.path
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-deployment
      description: GitHub Delete Deployment
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: repo-tags-delete.deletedeployment
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-environment
      description: GitHub Delete an Environment
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: repo-tags-delete.deleteanenvironment
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-deployment-branch-policy
      description: GitHub Delete Deployment Branch Policy
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: repo-tags-delete.deletedeploymentbranchpolicy
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-environment-secret
      description: GitHub Delete an Environment Secret
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: repo-tags-delete.deleteanenvironmentsecret
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-environment-variable
      description: GitHub Delete an Environment Variable
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: repo-tags-delete.deleteanenvironmentvariable
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-reference
      description: GitHub Delete Reference
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: repo-tags-delete.deletereference
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-deploy-key
      description: GitHub Delete Deploy Key
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: repo-tags-delete.deletedeploykey
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-label
      description: GitHub Delete Label
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: repo-tags-delete.deletelabel
      with:
        name: tools.name
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-milestone
      description: GitHub Delete Milestone
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: repo-tags-delete.deletemilestone
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-github-enterprise-server
      description: GitHub Delete Github Enterprise Server Pages Site
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: repo-tags-delete.deletegithubenterpriseserverpagessite
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-release-asset
      description: GitHub Delete Release Asset
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: repo-tags-delete.deletereleaseasset
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-release
      description: GitHub Delete Release
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: repo-tags-delete.deleterelease
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-release-reaction
      description: GitHub Delete Release Reaction
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: repo-tags-delete.deletereleasereaction
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-repository-subscription
      description: GitHub Delete Repository Subscription
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: repo-tags-delete.deleterepositorysubscription
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-tag-protection-state
      description: GitHub Delete Tag Protection State for Repository
      hints:
        readOnly: false
        destructive: true
        idempoten

# --- truncated at 32 KB (32 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/capabilities/repo-tags-delete.yaml