naftiko: 1.0.0-alpha2 info: label: Ollama API — Blobs description: 'Ollama API — Blobs. 2 operations. Lead operation: Ollama Check if a blob exists. Self-contained Naftiko capability covering one Ollama business surface.' tags: - Ollama - Blobs created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: OLLAMA_API_KEY: OLLAMA_API_KEY capability: consumes: - type: http namespace: ollama-blobs baseUri: http://localhost:11434 description: Ollama API — Blobs business capability. Self-contained, no shared references. resources: - name: api-blobs-digest path: /api/blobs/{digest} operations: - name: checkblob method: HEAD description: Ollama Check if a blob exists outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createblob method: POST description: Ollama Create a blob outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: ollama-blobs-rest port: 8080 description: REST adapter for Ollama API — Blobs. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/blobs/{digest} name: api-blobs-digest description: REST surface for api-blobs-digest. operations: - method: HEAD name: checkblob description: Ollama Check if a blob exists call: ollama-blobs.checkblob outputParameters: - type: object mapping: $. - method: POST name: createblob description: Ollama Create a blob call: ollama-blobs.createblob with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: ollama-blobs-mcp port: 9090 transport: http description: MCP adapter for Ollama API — Blobs. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: ollama-check-if-blob-exists description: Ollama Check if a blob exists hints: readOnly: false destructive: false idempotent: false call: ollama-blobs.checkblob outputParameters: - type: object mapping: $. - name: ollama-create-blob description: Ollama Create a blob hints: readOnly: false destructive: false idempotent: false call: ollama-blobs.createblob with: body: tools.body outputParameters: - type: object mapping: $.