Ollama · Capability

Ollama OpenAI Compatibility API — Responses

Ollama OpenAI Compatibility API — Responses. 1 operations. Lead operation: Ollama Create response. Self-contained Naftiko capability covering one Ollama business surface.

Run with Naftiko OllamaResponses

What You Can Do

POST
Createresponse — Ollama Create response
/v1/responses

MCP Tools

ollama-create-response

Ollama Create response

Capability Spec

openai-compatibility-responses.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Ollama OpenAI Compatibility API — Responses
  description: 'Ollama OpenAI Compatibility API — Responses. 1 operations. Lead operation: Ollama Create response. Self-contained
    Naftiko capability covering one Ollama business surface.'
  tags:
  - Ollama
  - Responses
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    OLLAMA_API_KEY: OLLAMA_API_KEY
capability:
  consumes:
  - type: http
    namespace: openai-compatibility-responses
    baseUri: http://localhost:11434/v1
    description: Ollama OpenAI Compatibility API — Responses business capability. Self-contained, no shared references.
    resources:
    - name: responses
      path: /responses
      operations:
      - name: createresponse
        method: POST
        description: Ollama Create response
        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.OLLAMA_API_KEY}}'
  exposes:
  - type: rest
    namespace: openai-compatibility-responses-rest
    port: 8080
    description: REST adapter for Ollama OpenAI Compatibility API — Responses. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/responses
      name: responses
      description: REST surface for responses.
      operations:
      - method: POST
        name: createresponse
        description: Ollama Create response
        call: openai-compatibility-responses.createresponse
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: openai-compatibility-responses-mcp
    port: 9090
    transport: http
    description: MCP adapter for Ollama OpenAI Compatibility API — Responses. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: ollama-create-response
      description: Ollama Create response
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: openai-compatibility-responses.createresponse
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.