naftiko: 1.0.0-alpha2 info: label: Microsoft Graph API (v1.0) — Calendar description: 'Microsoft Graph API (v1.0) — Calendar. 2 operations. Lead operation: Get the signed-in user''s default calendar. Self-contained Naftiko capability covering one Ms Products business surface.' tags: - Ms Products - Calendar created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MS_PRODUCTS_API_KEY: MS_PRODUCTS_API_KEY capability: consumes: - type: http namespace: ms-products-calendar baseUri: https://graph.microsoft.com/v1.0 description: Microsoft Graph API (v1.0) — Calendar business capability. Self-contained, no shared references. resources: - name: me-calendar path: /me/calendar operations: - name: getmycalendar method: GET description: Get the signed-in user's default calendar outputRawFormat: json outputParameters: - name: result type: object value: $. - name: me-events path: /me/events operations: - name: listmyevents method: GET description: List the signed-in user's calendar events outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.MS_PRODUCTS_API_KEY}}' exposes: - type: rest namespace: ms-products-calendar-rest port: 8080 description: REST adapter for Microsoft Graph API (v1.0) — Calendar. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/me/calendar name: me-calendar description: REST surface for me-calendar. operations: - method: GET name: getmycalendar description: Get the signed-in user's default calendar call: ms-products-calendar.getmycalendar outputParameters: - type: object mapping: $. - path: /v1/me/events name: me-events description: REST surface for me-events. operations: - method: GET name: listmyevents description: List the signed-in user's calendar events call: ms-products-calendar.listmyevents outputParameters: - type: object mapping: $. - type: mcp namespace: ms-products-calendar-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph API (v1.0) — Calendar. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-signed-user-s-default-calendar description: Get the signed-in user's default calendar hints: readOnly: true destructive: false idempotent: true call: ms-products-calendar.getmycalendar outputParameters: - type: object mapping: $. - name: list-signed-user-s-calendar-events description: List the signed-in user's calendar events hints: readOnly: true destructive: false idempotent: true call: ms-products-calendar.listmyevents outputParameters: - type: object mapping: $.