naftiko: 1.0.0-alpha2 info: label: Amazon Bedrock Runtime API — Inference description: 'Amazon Bedrock Runtime API — Inference. 2 operations. Lead operation: Amazon Bedrock Invoke a model. Self-contained Naftiko capability covering one Amazon Bedrock business surface.' tags: - Amazon Bedrock - Inference created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AMAZON_BEDROCK_API_KEY: AMAZON_BEDROCK_API_KEY capability: consumes: - type: http namespace: runtime-inference baseUri: https://bedrock-runtime.{region}.amazonaws.com description: Amazon Bedrock Runtime API — Inference business capability. Self-contained, no shared references. resources: - name: model-modelId-invoke path: /model/{modelId}/invoke operations: - name: invokemodel method: POST description: Amazon Bedrock Invoke a model outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: modelId in: path type: string description: The identifier of the model to invoke (e.g., anthropic.claude-3-sonnet-20240229-v1:0). required: true - name: Content-Type in: header type: string description: The MIME type of the input data in the request body. - name: Accept in: header type: string description: The desired MIME type of the inference body in the response. - name: body in: body type: object description: Request body (JSON). required: true - name: model-modelId-invoke-with-response-stream path: /model/{modelId}/invoke-with-response-stream operations: - name: invokemodelwithresponsestream method: POST description: Amazon Bedrock Invoke a model with response streaming outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: modelId in: path type: string description: The identifier of the model to invoke. required: true - name: Content-Type in: header type: string description: The MIME type of the input data in the request body. - name: X-Amzn-Bedrock-Accept in: header type: string description: The desired MIME type of the inference body in the response. - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: runtime-inference-rest port: 8080 description: REST adapter for Amazon Bedrock Runtime API — Inference. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/model/{modelid}/invoke name: model-modelid-invoke description: REST surface for model-modelId-invoke. operations: - method: POST name: invokemodel description: Amazon Bedrock Invoke a model call: runtime-inference.invokemodel with: modelId: rest.modelId Content-Type: rest.Content-Type Accept: rest.Accept body: rest.body outputParameters: - type: object mapping: $. - path: /v1/model/{modelid}/invoke-with-response-stream name: model-modelid-invoke-with-response-stream description: REST surface for model-modelId-invoke-with-response-stream. operations: - method: POST name: invokemodelwithresponsestream description: Amazon Bedrock Invoke a model with response streaming call: runtime-inference.invokemodelwithresponsestream with: modelId: rest.modelId Content-Type: rest.Content-Type X-Amzn-Bedrock-Accept: rest.X-Amzn-Bedrock-Accept body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: runtime-inference-mcp port: 9090 transport: http description: MCP adapter for Amazon Bedrock Runtime API — Inference. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: amazon-bedrock-invoke-model description: Amazon Bedrock Invoke a model hints: readOnly: false destructive: false idempotent: false call: runtime-inference.invokemodel with: modelId: tools.modelId Content-Type: tools.Content-Type Accept: tools.Accept body: tools.body outputParameters: - type: object mapping: $. - name: amazon-bedrock-invoke-model-response description: Amazon Bedrock Invoke a model with response streaming hints: readOnly: false destructive: false idempotent: false call: runtime-inference.invokemodelwithresponsestream with: modelId: tools.modelId Content-Type: tools.Content-Type X-Amzn-Bedrock-Accept: tools.X-Amzn-Bedrock-Accept body: tools.body outputParameters: - type: object mapping: $.