Microsoft Graph · Capability

Microsoft Graph OData Service for namespace microsoft.graph — teams.profilePhoto

Microsoft Graph OData Service for namespace microsoft.graph — teams.profilePhoto. 5 operations. Lead operation: Microsoft Graph Get profilePhoto. Self-contained Naftiko capability covering one Microsoft Graph business surface.

Run with Naftiko Microsoft Graphteams.profilePhoto

What You Can Do

GET
Teamsgetphoto — Microsoft Graph Get profilePhoto
/v1/teams/{team-id}/photo
PATCH
Teamsupdatephoto — Microsoft Graph Update profilePhoto
/v1/teams/{team-id}/photo
GET
Teamsgetphotocontent — Microsoft Graph Get profilePhoto
/v1/teams/{team-id}/photo/value
PUT
Teamsupdatephotocontent — Microsoft Graph Update profilePhoto
/v1/teams/{team-id}/photo/value
DELETE
Teamsdeletephotocontent — Microsoft Graph Delete media content for the navigation property photo in teams
/v1/teams/{team-id}/photo/value

MCP Tools

microsoft-graph-get-profilephoto

Microsoft Graph Get profilePhoto

read-only idempotent
microsoft-graph-update-profilephoto

Microsoft Graph Update profilePhoto

idempotent
microsoft-graph-get-profilephoto-2

Microsoft Graph Get profilePhoto

read-only idempotent
microsoft-graph-update-profilephoto-2

Microsoft Graph Update profilePhoto

idempotent
microsoft-graph-delete-media-content

Microsoft Graph Delete media content for the navigation property photo in teams

idempotent

Capability Spec

microsoft-graph-teams-profilephoto.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph OData Service for namespace microsoft.graph — teams.profilePhoto
  description: 'Microsoft Graph OData Service for namespace microsoft.graph — 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: microsoft-graph-teams-profilephoto
    baseUri: https://graph.microsoft.com/v1.0
    description: Microsoft Graph OData Service for namespace microsoft.graph — 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: microsoft-graph-teams-profilephoto-rest
    port: 8080
    description: REST adapter for Microsoft Graph OData Service for namespace microsoft.graph — 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: microsoft-graph-teams-profilephoto.teamsgetphoto
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: teamsupdatephoto
        description: Microsoft Graph Update profilePhoto
        call: microsoft-graph-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: microsoft-graph-teams-profilephoto.teamsgetphotocontent
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: teamsupdatephotocontent
        description: Microsoft Graph Update profilePhoto
        call: microsoft-graph-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: microsoft-graph-teams-profilephoto.teamsdeletephotocontent
        with:
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: microsoft-graph-teams-profilephoto-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Graph OData Service for namespace microsoft.graph — 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: microsoft-graph-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: microsoft-graph-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: microsoft-graph-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: microsoft-graph-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: microsoft-graph-teams-profilephoto.teamsdeletephotocontent
      with:
        If-Match: tools.If-Match
      outputParameters:
      - type: object
        mapping: $.