naftiko: 1.0.0-alpha2 info: label: Microsoft Graph Teams — teams.profilePhoto description: 'Microsoft Graph Teams — teams.profilePhoto. 5 operations. Lead operation: Microsoft Graph Get profilePhoto. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - teams.profilePhoto created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_GRAPH_API_KEY: MICROSOFT_GRAPH_API_KEY capability: consumes: - type: http namespace: teams-teams-profilephoto baseUri: '' description: Microsoft Graph Teams — teams.profilePhoto business capability. Self-contained, no shared references. resources: - name: teams-team-id-photo path: /teams/{team-id}/photo operations: - name: teamsgetphoto method: GET description: Microsoft Graph Get profilePhoto outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: teamsupdatephoto method: PATCH description: Microsoft Graph Update profilePhoto outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: teams-team-id-photo-$value path: /teams/{team-id}/photo/$value operations: - name: teamsgetphotocontent method: GET description: Microsoft Graph Get profilePhoto outputRawFormat: json outputParameters: - name: result type: object value: $. - name: teamsupdatephotocontent method: PUT description: Microsoft Graph Update profilePhoto outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: teamsdeletephotocontent method: DELETE description: Microsoft Graph Delete media content for the navigation property photo in teams outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag exposes: - type: rest namespace: teams-teams-profilephoto-rest port: 8080 description: REST adapter for Microsoft Graph Teams — teams.profilePhoto. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/teams/{team-id}/photo name: teams-team-id-photo description: REST surface for teams-team-id-photo. operations: - method: GET name: teamsgetphoto description: Microsoft Graph Get profilePhoto call: teams-teams-profilephoto.teamsgetphoto with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: teamsupdatephoto description: Microsoft Graph Update profilePhoto call: teams-teams-profilephoto.teamsupdatephoto with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/teams/{team-id}/photo/value name: teams-team-id-photo-value description: REST surface for teams-team-id-photo-$value. operations: - method: GET name: teamsgetphotocontent description: Microsoft Graph Get profilePhoto call: teams-teams-profilephoto.teamsgetphotocontent outputParameters: - type: object mapping: $. - method: PUT name: teamsupdatephotocontent description: Microsoft Graph Update profilePhoto call: teams-teams-profilephoto.teamsupdatephotocontent with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: teamsdeletephotocontent description: Microsoft Graph Delete media content for the navigation property photo in teams call: teams-teams-profilephoto.teamsdeletephotocontent with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - type: mcp namespace: teams-teams-profilephoto-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph Teams — teams.profilePhoto. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-get-profilephoto description: Microsoft Graph Get profilePhoto hints: readOnly: true destructive: false idempotent: true call: teams-teams-profilephoto.teamsgetphoto with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-profilephoto description: Microsoft Graph Update profilePhoto hints: readOnly: false destructive: false idempotent: true call: teams-teams-profilephoto.teamsupdatephoto with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-get-profilephoto-2 description: Microsoft Graph Get profilePhoto hints: readOnly: true destructive: false idempotent: true call: teams-teams-profilephoto.teamsgetphotocontent outputParameters: - type: object mapping: $. - name: microsoft-graph-update-profilephoto-2 description: Microsoft Graph Update profilePhoto hints: readOnly: false destructive: false idempotent: true call: teams-teams-profilephoto.teamsupdatephotocontent with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-media-content description: Microsoft Graph Delete media content for the navigation property photo in teams hints: readOnly: false destructive: true idempotent: true call: teams-teams-profilephoto.teamsdeletephotocontent with: If-Match: tools.If-Match outputParameters: - type: object mapping: $.