naftiko: 1.0.0-alpha2 info: label: Microsoft Graph Users — Users.contact description: 'Microsoft Graph Users — Users.contact. 19 operations. Lead operation: Microsoft Graph Get contacts from users. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - Users.contact 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: users-users-contact baseUri: '' description: Microsoft Graph Users — Users.contact business capability. Self-contained, no shared references. resources: - name: users-user-id-contacts path: /users/{user-id}/contacts operations: - name: userslistcontacts method: GET description: Microsoft Graph Get contacts from users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $orderby in: query type: array description: Order items by property values - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: userscreatecontacts method: POST description: Microsoft Graph Create new navigation property to contacts for users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: users-user-id-contacts-$count path: /users/{user-id}/contacts/$count operations: - name: userscontactsgetcount4943 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: users-user-id-contacts-delta() path: /users/{user-id}/contacts/delta() operations: - name: usersusercontactsdelta method: GET description: Microsoft Graph Invoke function delta outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $select in: query type: array description: Select properties to be returned - name: $orderby in: query type: array description: Order items by property values - name: $expand in: query type: array description: Expand related entities - name: users-user-id-contacts-contact-id path: /users/{user-id}/contacts/{contact-id} operations: - name: usersgetcontacts method: GET description: Microsoft Graph Get contacts from users 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: usersupdatecontacts method: PATCH description: Microsoft Graph Update the navigation property contacts in users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: usersdeletecontacts method: DELETE description: Microsoft Graph Delete navigation property contacts for users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag - name: users-user-id-contacts-contact-id-extensions path: /users/{user-id}/contacts/{contact-id}/extensions operations: - name: userscontactslistextensions method: GET description: Microsoft Graph Get extensions from users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $orderby in: query type: array description: Order items by property values - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: userscontactscreateextensions method: POST description: Microsoft Graph Create new navigation property to extensions for users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: users-user-id-contacts-contact-id-extensions-$count path: /users/{user-id}/contacts/{contact-id}/extensions/$count operations: - name: userscontactsextensionsgetcounte5d6 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: users-user-id-contacts-contact-id-extensions-extension-id path: /users/{user-id}/contacts/{contact-id}/extensions/{extension-id} operations: - name: userscontactsgetextensions method: GET description: Microsoft Graph Get extensions from users 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: userscontactsupdateextensions method: PATCH description: Microsoft Graph Update the navigation property extensions in users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: userscontactsdeleteextensions method: DELETE description: Microsoft Graph Delete navigation property extensions for users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag - name: users-user-id-contacts-contact-id-permanentDelete path: /users/{user-id}/contacts/{contact-id}/permanentDelete operations: - name: usersusercontactscontactpermanentdelete method: POST description: Microsoft Graph Invoke action permanentDelete outputRawFormat: json outputParameters: - name: result type: object value: $. - name: users-user-id-contacts-contact-id-photo path: /users/{user-id}/contacts/{contact-id}/photo operations: - name: userscontactsgetphoto method: GET description: Microsoft Graph Get photo from users 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: userscontactsupdatephoto method: PATCH description: Microsoft Graph Update the navigation property photo in users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: users-user-id-contacts-contact-id-photo-$value path: /users/{user-id}/contacts/{contact-id}/photo/$value operations: - name: userscontactsgetphotocontent method: GET description: Microsoft Graph Get media content for the navigation property photo from users outputRawFormat: json outputParameters: - name: result type: object value: $. - name: userscontactsupdatephotocontent method: PUT description: Microsoft Graph Update media content for the navigation property photo in users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: userscontactsdeletephotocontent method: DELETE description: Microsoft Graph Delete media content for the navigation property photo in users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag exposes: - type: rest namespace: users-users-contact-rest port: 8080 description: REST adapter for Microsoft Graph Users — Users.contact. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/users/{user-id}/contacts name: users-user-id-contacts description: REST surface for users-user-id-contacts. operations: - method: GET name: userslistcontacts description: Microsoft Graph Get contacts from users call: users-users-contact.userslistcontacts with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: userscreatecontacts description: Microsoft Graph Create new navigation property to contacts for users call: users-users-contact.userscreatecontacts with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/users/{user-id}/contacts/count name: users-user-id-contacts-count description: REST surface for users-user-id-contacts-$count. operations: - method: GET name: userscontactsgetcount4943 description: Microsoft Graph Get the number of the resource call: users-users-contact.userscontactsgetcount4943 outputParameters: - type: object mapping: $. - path: /v1/users/{user-id}/contacts/delta name: users-user-id-contacts-delta description: REST surface for users-user-id-contacts-delta(). operations: - method: GET name: usersusercontactsdelta description: Microsoft Graph Invoke function delta call: users-users-contact.usersusercontactsdelta with: $select: rest.$select $orderby: rest.$orderby $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/users/{user-id}/contacts/{contact-id} name: users-user-id-contacts-contact-id description: REST surface for users-user-id-contacts-contact-id. operations: - method: GET name: usersgetcontacts description: Microsoft Graph Get contacts from users call: users-users-contact.usersgetcontacts with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: usersupdatecontacts description: Microsoft Graph Update the navigation property contacts in users call: users-users-contact.usersupdatecontacts with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: usersdeletecontacts description: Microsoft Graph Delete navigation property contacts for users call: users-users-contact.usersdeletecontacts with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/users/{user-id}/contacts/{contact-id}/extensions name: users-user-id-contacts-contact-id-extensions description: REST surface for users-user-id-contacts-contact-id-extensions. operations: - method: GET name: userscontactslistextensions description: Microsoft Graph Get extensions from users call: users-users-contact.userscontactslistextensions with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: userscontactscreateextensions description: Microsoft Graph Create new navigation property to extensions for users call: users-users-contact.userscontactscreateextensions with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/users/{user-id}/contacts/{contact-id}/extensions/count name: users-user-id-contacts-contact-id-extensions-count description: REST surface for users-user-id-contacts-contact-id-extensions-$count. operations: - method: GET name: userscontactsextensionsgetcounte5d6 description: Microsoft Graph Get the number of the resource call: users-users-contact.userscontactsextensionsgetcounte5d6 outputParameters: - type: object mapping: $. - path: /v1/users/{user-id}/contacts/{contact-id}/extensions/{extension-id} name: users-user-id-contacts-contact-id-extensions-extension-id description: REST surface for users-user-id-contacts-contact-id-extensions-extension-id. operations: - method: GET name: userscontactsgetextensions description: Microsoft Graph Get extensions from users call: users-users-contact.userscontactsgetextensions with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: userscontactsupdateextensions description: Microsoft Graph Update the navigation property extensions in users call: users-users-contact.userscontactsupdateextensions with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: userscontactsdeleteextensions description: Microsoft Graph Delete navigation property extensions for users call: users-users-contact.userscontactsdeleteextensions with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/users/{user-id}/contacts/{contact-id}/permanentdelete name: users-user-id-contacts-contact-id-permanentdelete description: REST surface for users-user-id-contacts-contact-id-permanentDelete. operations: - method: POST name: usersusercontactscontactpermanentdelete description: Microsoft Graph Invoke action permanentDelete call: users-users-contact.usersusercontactscontactpermanentdelete outputParameters: - type: object mapping: $. - path: /v1/users/{user-id}/contacts/{contact-id}/photo name: users-user-id-contacts-contact-id-photo description: REST surface for users-user-id-contacts-contact-id-photo. operations: - method: GET name: userscontactsgetphoto description: Microsoft Graph Get photo from users call: users-users-contact.userscontactsgetphoto with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: userscontactsupdatephoto description: Microsoft Graph Update the navigation property photo in users call: users-users-contact.userscontactsupdatephoto with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/users/{user-id}/contacts/{contact-id}/photo/value name: users-user-id-contacts-contact-id-photo-value description: REST surface for users-user-id-contacts-contact-id-photo-$value. operations: - method: GET name: userscontactsgetphotocontent description: Microsoft Graph Get media content for the navigation property photo from users call: users-users-contact.userscontactsgetphotocontent outputParameters: - type: object mapping: $. - method: PUT name: userscontactsupdatephotocontent description: Microsoft Graph Update media content for the navigation property photo in users call: users-users-contact.userscontactsupdatephotocontent with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: userscontactsdeletephotocontent description: Microsoft Graph Delete media content for the navigation property photo in users call: users-users-contact.userscontactsdeletephotocontent with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - type: mcp namespace: users-users-contact-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph Users — Users.contact. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-get-contacts-users description: Microsoft Graph Get contacts from users hints: readOnly: true destructive: false idempotent: true call: users-users-contact.userslistcontacts with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-create-new-navigation description: Microsoft Graph Create new navigation property to contacts for users hints: readOnly: false destructive: false idempotent: false call: users-users-contact.userscreatecontacts with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-get-number-resource description: Microsoft Graph Get the number of the resource hints: readOnly: true destructive: false idempotent: true call: users-users-contact.userscontactsgetcount4943 outputParameters: - type: object mapping: $. - name: microsoft-graph-invoke-function-delta description: Microsoft Graph Invoke function delta hints: readOnly: true destructive: false idempotent: true call: users-users-contact.usersusercontactsdelta with: $select: tools.$select $orderby: tools.$orderby $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-contacts-users-2 description: Microsoft Graph Get contacts from users hints: readOnly: true destructive: false idempotent: true call: users-users-contact.usersgetcontacts with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-navigation-property description: Microsoft Graph Update the navigation property contacts in users hints: readOnly: false destructive: false idempotent: true call: users-users-contact.usersupdatecontacts with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-navigation-property description: Microsoft Graph Delete navigation property contacts for users hints: readOnly: false destructive: true idempotent: true call: users-users-contact.usersdeletecontacts with: If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-graph-get-extensions-users description: Microsoft Graph Get extensions from users hints: readOnly: true destructive: false idempotent: true call: users-users-contact.userscontactslistextensions with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-create-new-navigation-2 description: Microsoft Graph Create new navigation property to extensions for users hints: readOnly: false destructive: false idempotent: false call: users-users-contact.userscontactscreateextensions with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-get-number-resource-2 description: Microsoft Graph Get the number of the resource hints: readOnly: true destructive: false idempotent: true call: users-users-contact.userscontactsextensionsgetcounte5d6 outputParameters: - type: object mapping: $. - name: microsoft-graph-get-extensions-users-2 description: Microsoft Graph Get extensions from users hints: readOnly: true destructive: false idempotent: true call: users-users-contact.userscontactsgetextensions with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-navigation-property-2 description: Microsoft Graph Update the navigation property extensions in users hints: readOnly: false destructive: false idempotent: true call: users-users-contact.userscontactsupdateextensions with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-navigation-property-2 description: Microsoft Graph Delete navigation property extensions for users hints: readOnly: false destructive: true idempotent: true call: users-users-contact.userscontactsdeleteextensions with: If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-graph-invoke-action-permanentdelete description: Microsoft Graph Invoke action permanentDelete hints: readOnly: false destructive: false idempotent: false call: users-users-contact.usersusercontactscontactpermanentdelete outputParameters: - type: object mapping: $. - name: microsoft-graph-get-photo-users description: Microsoft Graph Get photo from users hints: readOnly: true destructive: false idempotent: true call: users-users-contact.userscontactsgetphoto with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-navigation-property-3 description: Microsoft Graph Update the navigation property photo in users hints: readOnly: false destructive: false idempotent: true call: users-users-contact.userscontactsupdatephoto with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-get-media-content description: Microsoft Graph Get media content for the navigation property photo from users hints: readOnly: true destructive: false idempotent: true call: users-users-contact.userscontactsgetphotocontent outputParameters: - type: object mapping: $. - name: microsoft-graph-update-media-content description: Microsoft Graph Update media content for the navigation property photo in users hints: readOnly: false destructive: false idempotent: true call: users-users-contact.userscontactsupdatephotocontent 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 users hints: readOnly: false destructive: true idempotent: true call: users-users-contact.userscontactsdeletephotocontent with: If-Match: tools.If-Match outputParameters: - type: object mapping: $.