Groq · Capability

GroqCloud API — Responses

GroqCloud API — Responses. 1 operations. Lead operation: Creates a model response for the given input.. Self-contained Naftiko capability covering one Groq business surface.

Run with Naftiko GroqResponses

What You Can Do

POST
Createresponse — Creates a model response for the given input.
/v1/openai/v1/responses

MCP Tools

creates-model-response-given-input

Creates a model response for the given input.

Capability Spec

groq-responses.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GroqCloud API — Responses
  description: 'GroqCloud API — Responses. 1 operations. Lead operation: Creates a model response for the given input.. Self-contained
    Naftiko capability covering one Groq business surface.'
  tags:
  - Groq
  - Responses
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GROQ_API_KEY: GROQ_API_KEY
capability:
  consumes:
  - type: http
    namespace: groq-responses
    baseUri: https://api.groq.com
    description: GroqCloud API — Responses business capability. Self-contained, no shared references.
    resources:
    - name: openai-v1-responses
      path: /openai/v1/responses
      operations:
      - name: createresponse
        method: POST
        description: Creates a model response for the given input.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.GROQ_API_KEY}}'
  exposes:
  - type: rest
    namespace: groq-responses-rest
    port: 8080
    description: REST adapter for GroqCloud API — Responses. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/openai/v1/responses
      name: openai-v1-responses
      description: REST surface for openai-v1-responses.
      operations:
      - method: POST
        name: createresponse
        description: Creates a model response for the given input.
        call: groq-responses.createresponse
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: groq-responses-mcp
    port: 9090
    transport: http
    description: MCP adapter for GroqCloud API — Responses. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: creates-model-response-given-input
      description: Creates a model response for the given input.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: groq-responses.createresponse
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.