GitHub · Capability

GitHub Gists API — Delete

GitHub Gists API — Delete. 2 operations. Lead operation: GitHub Deletegist. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubDelete

What You Can Do

DELETE
Deletegist — GitHub Deletegist
/v1/gists/{gist-id}
DELETE
Deletegistcomment — GitHub Deletegist Comment
/v1/gists/{gist-id}/comments/{comment-id}

MCP Tools

github-deletegist

GitHub Deletegist

idempotent
github-deletegist-comment

GitHub Deletegist Comment

idempotent

Capability Spec

gists-delete.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub Gists API — Delete
  description: 'GitHub Gists API — Delete. 2 operations. Lead operation: GitHub Deletegist. 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: gists-delete
    baseUri: ''
    description: GitHub Gists API — Delete business capability. Self-contained, no shared references.
    resources:
    - name: gists-gist_id
      path: /gists/{gist_id}
      operations:
      - name: deletegist
        method: DELETE
        description: GitHub Deletegist
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: gists-gist_id-comments-comment_id
      path: /gists/{gist_id}/comments/{comment_id}
      operations:
      - name: deletegistcomment
        method: DELETE
        description: GitHub Deletegist Comment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.GITHUB_API_KEY}}'
  exposes:
  - type: rest
    namespace: gists-delete-rest
    port: 8080
    description: REST adapter for GitHub Gists API — Delete. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/gists/{gist-id}
      name: gists-gist-id
      description: REST surface for gists-gist_id.
      operations:
      - method: DELETE
        name: deletegist
        description: GitHub Deletegist
        call: gists-delete.deletegist
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/gists/{gist-id}/comments/{comment-id}
      name: gists-gist-id-comments-comment-id
      description: REST surface for gists-gist_id-comments-comment_id.
      operations:
      - method: DELETE
        name: deletegistcomment
        description: GitHub Deletegist Comment
        call: gists-delete.deletegistcomment
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: gists-delete-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub Gists API — Delete. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: github-deletegist
      description: GitHub Deletegist
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: gists-delete.deletegist
      outputParameters:
      - type: object
        mapping: $.
    - name: github-deletegist-comment
      description: GitHub Deletegist Comment
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: gists-delete.deletegistcomment
      outputParameters:
      - type: object
        mapping: $.