Ollama · Capability

Ollama API — Running Models

Ollama API — Running Models. 1 operations. Lead operation: Ollama List running models. Self-contained Naftiko capability covering one Ollama business surface.

Run with Naftiko OllamaRunning Models

What You Can Do

GET
Listrunningmodels — Ollama List running models
/v1/api/ps

MCP Tools

ollama-list-running-models

Ollama List running models

read-only idempotent

Capability Spec

ollama-running-models.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Ollama API — Running Models
  description: 'Ollama API — Running Models. 1 operations. Lead operation: Ollama List running models. Self-contained Naftiko
    capability covering one Ollama business surface.'
  tags:
  - Ollama
  - Running Models
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    OLLAMA_API_KEY: OLLAMA_API_KEY
capability:
  consumes:
  - type: http
    namespace: ollama-running-models
    baseUri: http://localhost:11434
    description: Ollama API — Running Models business capability. Self-contained, no shared references.
    resources:
    - name: api-ps
      path: /api/ps
      operations:
      - name: listrunningmodels
        method: GET
        description: Ollama List running models
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: ollama-running-models-rest
    port: 8080
    description: REST adapter for Ollama API — Running Models. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/ps
      name: api-ps
      description: REST surface for api-ps.
      operations:
      - method: GET
        name: listrunningmodels
        description: Ollama List running models
        call: ollama-running-models.listrunningmodels
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: ollama-running-models-mcp
    port: 9090
    transport: http
    description: MCP adapter for Ollama API — Running Models. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: ollama-list-running-models
      description: Ollama List running models
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: ollama-running-models.listrunningmodels
      outputParameters:
      - type: object
        mapping: $.