naftiko: 1.0.0-alpha2 info: label: Amazon Bedrock API — Foundation Models description: 'Amazon Bedrock API — Foundation Models. 2 operations. Lead operation: Amazon Bedrock List foundation models. Self-contained Naftiko capability covering one Amazon Bedrock business surface.' tags: - Amazon Bedrock - Foundation Models 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: amazon-bedrock-foundation-models baseUri: https://bedrock.{region}.amazonaws.com description: Amazon Bedrock API — Foundation Models business capability. Self-contained, no shared references. resources: - name: foundation-models path: /foundation-models operations: - name: listfoundationmodels method: GET description: Amazon Bedrock List foundation models outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: byProvider in: query type: string description: Filter by model provider (e.g., amazon, anthropic, meta). - name: byOutputModality in: query type: string description: Filter by output modality (TEXT, IMAGE, EMBEDDING). - name: byInferenceType in: query type: string description: Filter by inference type (ON_DEMAND, PROVISIONED). - name: foundation-models-modelIdentifier path: /foundation-models/{modelIdentifier} operations: - name: getfoundationmodel method: GET description: Amazon Bedrock Get foundation model details outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: modelIdentifier in: path type: string description: The model identifier (e.g., anthropic.claude-3-sonnet-20240229-v1:0). required: true exposes: - type: rest namespace: amazon-bedrock-foundation-models-rest port: 8080 description: REST adapter for Amazon Bedrock API — Foundation Models. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/foundation-models name: foundation-models description: REST surface for foundation-models. operations: - method: GET name: listfoundationmodels description: Amazon Bedrock List foundation models call: amazon-bedrock-foundation-models.listfoundationmodels with: byProvider: rest.byProvider byOutputModality: rest.byOutputModality byInferenceType: rest.byInferenceType outputParameters: - type: object mapping: $. - path: /v1/foundation-models/{modelidentifier} name: foundation-models-modelidentifier description: REST surface for foundation-models-modelIdentifier. operations: - method: GET name: getfoundationmodel description: Amazon Bedrock Get foundation model details call: amazon-bedrock-foundation-models.getfoundationmodel with: modelIdentifier: rest.modelIdentifier outputParameters: - type: object mapping: $. - type: mcp namespace: amazon-bedrock-foundation-models-mcp port: 9090 transport: http description: MCP adapter for Amazon Bedrock API — Foundation Models. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: amazon-bedrock-list-foundation-models description: Amazon Bedrock List foundation models hints: readOnly: true destructive: false idempotent: true call: amazon-bedrock-foundation-models.listfoundationmodels with: byProvider: tools.byProvider byOutputModality: tools.byOutputModality byInferenceType: tools.byInferenceType outputParameters: - type: object mapping: $. - name: amazon-bedrock-get-foundation-model description: Amazon Bedrock Get foundation model details hints: readOnly: true destructive: false idempotent: true call: amazon-bedrock-foundation-models.getfoundationmodel with: modelIdentifier: tools.modelIdentifier outputParameters: - type: object mapping: $.