naftiko: 1.0.0-alpha2 info: label: Microsoft Bot Framework Connector REST API — Attachments description: 'Microsoft Bot Framework Connector REST API — Attachments. 3 operations. Lead operation: Get Attachment Info. Self-contained Naftiko capability covering one Microsoft Bot Framework business surface.' tags: - Microsoft Bot Framework - Attachments created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_BOT_FRAMEWORK_API_KEY: MICROSOFT_BOT_FRAMEWORK_API_KEY capability: consumes: - type: http namespace: microsoft-bot-framework-attachments baseUri: https://api.botframework.com description: Microsoft Bot Framework Connector REST API — Attachments business capability. Self-contained, no shared references. resources: - name: v3-attachments-attachmentId path: /v3/attachments/{attachmentId} operations: - name: getattachmentinfo method: GET description: Get Attachment Info outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v3-attachments-attachmentId-views-viewId path: /v3/attachments/{attachmentId}/views/{viewId} operations: - name: getattachment method: GET description: Get Attachment outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v3-conversations-conversationId-attachments path: /v3/conversations/{conversationId}/attachments operations: - name: uploadattachment method: POST description: Upload Attachment 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.MICROSOFT_BOT_FRAMEWORK_API_KEY}}' exposes: - type: rest namespace: microsoft-bot-framework-attachments-rest port: 8080 description: REST adapter for Microsoft Bot Framework Connector REST API — Attachments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v3/attachments/{attachmentid} name: v3-attachments-attachmentid description: REST surface for v3-attachments-attachmentId. operations: - method: GET name: getattachmentinfo description: Get Attachment Info call: microsoft-bot-framework-attachments.getattachmentinfo outputParameters: - type: object mapping: $. - path: /v1/v3/attachments/{attachmentid}/views/{viewid} name: v3-attachments-attachmentid-views-viewid description: REST surface for v3-attachments-attachmentId-views-viewId. operations: - method: GET name: getattachment description: Get Attachment call: microsoft-bot-framework-attachments.getattachment outputParameters: - type: object mapping: $. - path: /v1/v3/conversations/{conversationid}/attachments name: v3-conversations-conversationid-attachments description: REST surface for v3-conversations-conversationId-attachments. operations: - method: POST name: uploadattachment description: Upload Attachment call: microsoft-bot-framework-attachments.uploadattachment with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: microsoft-bot-framework-attachments-mcp port: 9090 transport: http description: MCP adapter for Microsoft Bot Framework Connector REST API — Attachments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-attachment-info description: Get Attachment Info hints: readOnly: true destructive: false idempotent: true call: microsoft-bot-framework-attachments.getattachmentinfo outputParameters: - type: object mapping: $. - name: get-attachment description: Get Attachment hints: readOnly: true destructive: false idempotent: true call: microsoft-bot-framework-attachments.getattachment outputParameters: - type: object mapping: $. - name: upload-attachment description: Upload Attachment hints: readOnly: false destructive: false idempotent: false call: microsoft-bot-framework-attachments.uploadattachment with: body: tools.body outputParameters: - type: object mapping: $.