naftiko: 1.0.0-alpha2 info: label: Microsoft Graph Me — Me.contact description: 'Microsoft Graph Me — Me.contact. 19 operations. Lead operation: Microsoft Graph List contacts. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - Me.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: me-me-contact baseUri: '' description: Microsoft Graph Me — Me.contact business capability. Self-contained, no shared references. resources: - name: me-contacts path: /me/contacts operations: - name: melistcontacts method: GET description: Microsoft Graph List contacts 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: mecreatecontacts method: POST description: Microsoft Graph Create contact outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: me-contacts-$count path: /me/contacts/$count operations: - name: mecontactsgetcount9c39 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: me-contacts-delta() path: /me/contacts/delta() operations: - name: mecontactsdelta 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: me-contacts-contact-id path: /me/contacts/{contact-id} operations: - name: megetcontacts method: GET description: Microsoft Graph Get contact 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: meupdatecontacts method: PATCH description: Microsoft Graph Update contact outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: medeletecontacts method: DELETE description: Microsoft Graph Delete contact outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag - name: me-contacts-contact-id-extensions path: /me/contacts/{contact-id}/extensions operations: - name: mecontactslistextensions method: GET description: Microsoft Graph Get extensions from me 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: mecontactscreateextensions method: POST description: Microsoft Graph Create new navigation property to extensions for me outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: me-contacts-contact-id-extensions-$count path: /me/contacts/{contact-id}/extensions/$count operations: - name: mecontactsextensionsgetcount10dd method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: me-contacts-contact-id-extensions-extension-id path: /me/contacts/{contact-id}/extensions/{extension-id} operations: - name: mecontactsgetextensions method: GET description: Microsoft Graph Get extensions from me 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: mecontactsupdateextensions method: PATCH description: Microsoft Graph Update the navigation property extensions in me outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: mecontactsdeleteextensions method: DELETE description: Microsoft Graph Delete navigation property extensions for me outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag - name: me-contacts-contact-id-permanentDelete path: /me/contacts/{contact-id}/permanentDelete operations: - name: mecontactscontactpermanentdelete method: POST description: Microsoft Graph Invoke action permanentDelete outputRawFormat: json outputParameters: - name: result type: object value: $. - name: me-contacts-contact-id-photo path: /me/contacts/{contact-id}/photo operations: - name: mecontactsgetphoto method: GET description: Microsoft Graph Get photo from me 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: mecontactsupdatephoto method: PATCH description: Microsoft Graph Update the navigation property photo in me outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: me-contacts-contact-id-photo-$value path: /me/contacts/{contact-id}/photo/$value operations: - name: mecontactsgetphotocontent method: GET description: Microsoft Graph Get media content for the navigation property photo from me outputRawFormat: json outputParameters: - name: result type: object value: $. - name: mecontactsupdatephotocontent method: PUT description: Microsoft Graph Update media content for the navigation property photo in me outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: mecontactsdeletephotocontent method: DELETE description: Microsoft Graph Delete media content for the navigation property photo in me outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag exposes: - type: rest namespace: me-me-contact-rest port: 8080 description: REST adapter for Microsoft Graph Me — Me.contact. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/me/contacts name: me-contacts description: REST surface for me-contacts. operations: - method: GET name: melistcontacts description: Microsoft Graph List contacts call: me-me-contact.melistcontacts with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: mecreatecontacts description: Microsoft Graph Create contact call: me-me-contact.mecreatecontacts with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/me/contacts/count name: me-contacts-count description: REST surface for me-contacts-$count. operations: - method: GET name: mecontactsgetcount9c39 description: Microsoft Graph Get the number of the resource call: me-me-contact.mecontactsgetcount9c39 outputParameters: - type: object mapping: $. - path: /v1/me/contacts/delta name: me-contacts-delta description: REST surface for me-contacts-delta(). operations: - method: GET name: mecontactsdelta description: Microsoft Graph Invoke function delta call: me-me-contact.mecontactsdelta with: $select: rest.$select $orderby: rest.$orderby $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/me/contacts/{contact-id} name: me-contacts-contact-id description: REST surface for me-contacts-contact-id. operations: - method: GET name: megetcontacts description: Microsoft Graph Get contact call: me-me-contact.megetcontacts with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: meupdatecontacts description: Microsoft Graph Update contact call: me-me-contact.meupdatecontacts with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: medeletecontacts description: Microsoft Graph Delete contact call: me-me-contact.medeletecontacts with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/me/contacts/{contact-id}/extensions name: me-contacts-contact-id-extensions description: REST surface for me-contacts-contact-id-extensions. operations: - method: GET name: mecontactslistextensions description: Microsoft Graph Get extensions from me call: me-me-contact.mecontactslistextensions with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: mecontactscreateextensions description: Microsoft Graph Create new navigation property to extensions for me call: me-me-contact.mecontactscreateextensions with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/me/contacts/{contact-id}/extensions/count name: me-contacts-contact-id-extensions-count description: REST surface for me-contacts-contact-id-extensions-$count. operations: - method: GET name: mecontactsextensionsgetcount10dd description: Microsoft Graph Get the number of the resource call: me-me-contact.mecontactsextensionsgetcount10dd outputParameters: - type: object mapping: $. - path: /v1/me/contacts/{contact-id}/extensions/{extension-id} name: me-contacts-contact-id-extensions-extension-id description: REST surface for me-contacts-contact-id-extensions-extension-id. operations: - method: GET name: mecontactsgetextensions description: Microsoft Graph Get extensions from me call: me-me-contact.mecontactsgetextensions with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: mecontactsupdateextensions description: Microsoft Graph Update the navigation property extensions in me call: me-me-contact.mecontactsupdateextensions with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: mecontactsdeleteextensions description: Microsoft Graph Delete navigation property extensions for me call: me-me-contact.mecontactsdeleteextensions with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/me/contacts/{contact-id}/permanentdelete name: me-contacts-contact-id-permanentdelete description: REST surface for me-contacts-contact-id-permanentDelete. operations: - method: POST name: mecontactscontactpermanentdelete description: Microsoft Graph Invoke action permanentDelete call: me-me-contact.mecontactscontactpermanentdelete outputParameters: - type: object mapping: $. - path: /v1/me/contacts/{contact-id}/photo name: me-contacts-contact-id-photo description: REST surface for me-contacts-contact-id-photo. operations: - method: GET name: mecontactsgetphoto description: Microsoft Graph Get photo from me call: me-me-contact.mecontactsgetphoto with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: mecontactsupdatephoto description: Microsoft Graph Update the navigation property photo in me call: me-me-contact.mecontactsupdatephoto with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/me/contacts/{contact-id}/photo/value name: me-contacts-contact-id-photo-value description: REST surface for me-contacts-contact-id-photo-$value. operations: - method: GET name: mecontactsgetphotocontent description: Microsoft Graph Get media content for the navigation property photo from me call: me-me-contact.mecontactsgetphotocontent outputParameters: - type: object mapping: $. - method: PUT name: mecontactsupdatephotocontent description: Microsoft Graph Update media content for the navigation property photo in me call: me-me-contact.mecontactsupdatephotocontent with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: mecontactsdeletephotocontent description: Microsoft Graph Delete media content for the navigation property photo in me call: me-me-contact.mecontactsdeletephotocontent with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - type: mcp namespace: me-me-contact-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph Me — Me.contact. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-list-contacts description: Microsoft Graph List contacts hints: readOnly: true destructive: false idempotent: true call: me-me-contact.melistcontacts with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-create-contact description: Microsoft Graph Create contact hints: readOnly: false destructive: false idempotent: false call: me-me-contact.mecreatecontacts 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: me-me-contact.mecontactsgetcount9c39 outputParameters: - type: object mapping: $. - name: microsoft-graph-invoke-function-delta description: Microsoft Graph Invoke function delta hints: readOnly: true destructive: false idempotent: true call: me-me-contact.mecontactsdelta with: $select: tools.$select $orderby: tools.$orderby $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-contact description: Microsoft Graph Get contact hints: readOnly: true destructive: false idempotent: true call: me-me-contact.megetcontacts with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-contact description: Microsoft Graph Update contact hints: readOnly: false destructive: false idempotent: true call: me-me-contact.meupdatecontacts with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-contact description: Microsoft Graph Delete contact hints: readOnly: false destructive: true idempotent: true call: me-me-contact.medeletecontacts with: If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-graph-get-extensions-me description: Microsoft Graph Get extensions from me hints: readOnly: true destructive: false idempotent: true call: me-me-contact.mecontactslistextensions 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 extensions for me hints: readOnly: false destructive: false idempotent: false call: me-me-contact.mecontactscreateextensions 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: me-me-contact.mecontactsextensionsgetcount10dd outputParameters: - type: object mapping: $. - name: microsoft-graph-get-extensions-me-2 description: Microsoft Graph Get extensions from me hints: readOnly: true destructive: false idempotent: true call: me-me-contact.mecontactsgetextensions with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-navigation-property description: Microsoft Graph Update the navigation property extensions in me hints: readOnly: false destructive: false idempotent: true call: me-me-contact.mecontactsupdateextensions with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-navigation-property description: Microsoft Graph Delete navigation property extensions for me hints: readOnly: false destructive: true idempotent: true call: me-me-contact.mecontactsdeleteextensions 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: me-me-contact.mecontactscontactpermanentdelete outputParameters: - type: object mapping: $. - name: microsoft-graph-get-photo-me description: Microsoft Graph Get photo from me hints: readOnly: true destructive: false idempotent: true call: me-me-contact.mecontactsgetphoto 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 photo in me hints: readOnly: false destructive: false idempotent: true call: me-me-contact.mecontactsupdatephoto 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 me hints: readOnly: true destructive: false idempotent: true call: me-me-contact.mecontactsgetphotocontent outputParameters: - type: object mapping: $. - name: microsoft-graph-update-media-content description: Microsoft Graph Update media content for the navigation property photo in me hints: readOnly: false destructive: false idempotent: true call: me-me-contact.mecontactsupdatephotocontent 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 me hints: readOnly: false destructive: true idempotent: true call: me-me-contact.mecontactsdeletephotocontent with: If-Match: tools.If-Match outputParameters: - type: object mapping: $.