Twitch · Capability

Twitch Helix API — Whispers

Twitch Helix API — Whispers. 1 operations. Lead operation: Twitch Send Whisper. Self-contained Naftiko capability covering one Twitch business surface.

Run with Naftiko TwitchWhispers

What You Can Do

POST
Sendwhisper — Twitch Send Whisper
/v1/whispers

MCP Tools

twitch-send-whisper

Twitch Send Whisper

Capability Spec

helix-whispers.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Twitch Helix API — Whispers
  description: 'Twitch Helix API — Whispers. 1 operations. Lead operation: Twitch Send Whisper. Self-contained Naftiko capability
    covering one Twitch business surface.'
  tags:
  - Twitch
  - Whispers
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TWITCH_API_KEY: TWITCH_API_KEY
capability:
  consumes:
  - type: http
    namespace: helix-whispers
    baseUri: https://api.twitch.tv/helix
    description: Twitch Helix API — Whispers business capability. Self-contained, no shared references.
    resources:
    - name: whispers
      path: /whispers
      operations:
      - name: sendwhisper
        method: POST
        description: Twitch Send Whisper
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: from_user_id
          in: query
          type: string
          required: true
        - name: to_user_id
          in: query
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.TWITCH_API_KEY}}'
  exposes:
  - type: rest
    namespace: helix-whispers-rest
    port: 8080
    description: REST adapter for Twitch Helix API — Whispers. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/whispers
      name: whispers
      description: REST surface for whispers.
      operations:
      - method: POST
        name: sendwhisper
        description: Twitch Send Whisper
        call: helix-whispers.sendwhisper
        with:
          from_user_id: rest.from_user_id
          to_user_id: rest.to_user_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: helix-whispers-mcp
    port: 9090
    transport: http
    description: MCP adapter for Twitch Helix API — Whispers. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: twitch-send-whisper
      description: Twitch Send Whisper
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: helix-whispers.sendwhisper
      with:
        from_user_id: tools.from_user_id
        to_user_id: tools.to_user_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.