Microsoft Exchange · Capability

Microsoft Exchange Microsoft Graph Contacts API — Contact Folders

Microsoft Exchange Microsoft Graph Contacts API — Contact Folders. 9 operations. Lead operation: Microsoft Exchange List contact folders. Self-contained Naftiko capability covering one Microsoft Exchange business surface.

Run with Naftiko Microsoft ExchangeContact Folders

What You Can Do

GET
Listcontactfolders — Microsoft Exchange List contact folders
/v1/me/contactfolders
POST
Createcontactfolder — Microsoft Exchange Create contact folder
/v1/me/contactfolders
GET
Getcontactfolder — Microsoft Exchange Get contact folder
/v1/me/contactfolders/{contactfolder-id}
PATCH
Updatecontactfolder — Microsoft Exchange Update contact folder
/v1/me/contactfolders/{contactfolder-id}
DELETE
Deletecontactfolder — Microsoft Exchange Delete contact folder
/v1/me/contactfolders/{contactfolder-id}
GET
Listcontactchildfolders — Microsoft Exchange List child contact folders
/v1/me/contactfolders/{contactfolder-id}/childfolders
POST
Createcontactchildfolder — Microsoft Exchange Create child contact folder
/v1/me/contactfolders/{contactfolder-id}/childfolders
GET
Listcontactsinfolder — Microsoft Exchange List contacts in folder
/v1/me/contactfolders/{contactfolder-id}/contacts
POST
Createcontactinfolder — Microsoft Exchange Create contact in folder
/v1/me/contactfolders/{contactfolder-id}/contacts

MCP Tools

microsoft-exchange-list-contact-folders

Microsoft Exchange List contact folders

read-only idempotent
microsoft-exchange-create-contact-folder

Microsoft Exchange Create contact folder

microsoft-exchange-get-contact-folder

Microsoft Exchange Get contact folder

read-only idempotent
microsoft-exchange-update-contact-folder

Microsoft Exchange Update contact folder

idempotent
microsoft-exchange-delete-contact-folder

Microsoft Exchange Delete contact folder

idempotent
microsoft-exchange-list-child-contact

Microsoft Exchange List child contact folders

read-only idempotent
microsoft-exchange-create-child-contact

Microsoft Exchange Create child contact folder

microsoft-exchange-list-contacts-folder

Microsoft Exchange List contacts in folder

read-only idempotent
microsoft-exchange-create-contact-folder-2

Microsoft Exchange Create contact in folder

Capability Spec

graph-contacts-contact-folders.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Exchange Microsoft Graph Contacts API — Contact Folders
  description: 'Microsoft Exchange Microsoft Graph Contacts API — Contact Folders. 9 operations. Lead operation: Microsoft
    Exchange List contact folders. Self-contained Naftiko capability covering one Microsoft Exchange business surface.'
  tags:
  - Microsoft Exchange
  - Contact Folders
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_EXCHANGE_API_KEY: MICROSOFT_EXCHANGE_API_KEY
capability:
  consumes:
  - type: http
    namespace: graph-contacts-contact-folders
    baseUri: https://graph.microsoft.com/v1.0
    description: Microsoft Exchange Microsoft Graph Contacts API — Contact Folders business capability. Self-contained, no
      shared references.
    resources:
    - name: me-contactFolders
      path: /me/contactFolders
      operations:
      - name: listcontactfolders
        method: GET
        description: Microsoft Exchange List contact folders
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createcontactfolder
        method: POST
        description: Microsoft Exchange Create contact folder
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: me-contactFolders-contactFolder-id
      path: /me/contactFolders/{contactFolder-id}
      operations:
      - name: getcontactfolder
        method: GET
        description: Microsoft Exchange Get contact folder
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatecontactfolder
        method: PATCH
        description: Microsoft Exchange Update contact folder
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletecontactfolder
        method: DELETE
        description: Microsoft Exchange Delete contact folder
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: me-contactFolders-contactFolder-id-childFolders
      path: /me/contactFolders/{contactFolder-id}/childFolders
      operations:
      - name: listcontactchildfolders
        method: GET
        description: Microsoft Exchange List child contact folders
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createcontactchildfolder
        method: POST
        description: Microsoft Exchange Create child contact folder
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: me-contactFolders-contactFolder-id-contacts
      path: /me/contactFolders/{contactFolder-id}/contacts
      operations:
      - name: listcontactsinfolder
        method: GET
        description: Microsoft Exchange List contacts in folder
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createcontactinfolder
        method: POST
        description: Microsoft Exchange Create contact in folder
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_EXCHANGE_API_KEY}}'
  exposes:
  - type: rest
    namespace: graph-contacts-contact-folders-rest
    port: 8080
    description: REST adapter for Microsoft Exchange Microsoft Graph Contacts API — Contact Folders. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/me/contactfolders
      name: me-contactfolders
      description: REST surface for me-contactFolders.
      operations:
      - method: GET
        name: listcontactfolders
        description: Microsoft Exchange List contact folders
        call: graph-contacts-contact-folders.listcontactfolders
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createcontactfolder
        description: Microsoft Exchange Create contact folder
        call: graph-contacts-contact-folders.createcontactfolder
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/me/contactfolders/{contactfolder-id}
      name: me-contactfolders-contactfolder-id
      description: REST surface for me-contactFolders-contactFolder-id.
      operations:
      - method: GET
        name: getcontactfolder
        description: Microsoft Exchange Get contact folder
        call: graph-contacts-contact-folders.getcontactfolder
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updatecontactfolder
        description: Microsoft Exchange Update contact folder
        call: graph-contacts-contact-folders.updatecontactfolder
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletecontactfolder
        description: Microsoft Exchange Delete contact folder
        call: graph-contacts-contact-folders.deletecontactfolder
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/me/contactfolders/{contactfolder-id}/childfolders
      name: me-contactfolders-contactfolder-id-childfolders
      description: REST surface for me-contactFolders-contactFolder-id-childFolders.
      operations:
      - method: GET
        name: listcontactchildfolders
        description: Microsoft Exchange List child contact folders
        call: graph-contacts-contact-folders.listcontactchildfolders
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createcontactchildfolder
        description: Microsoft Exchange Create child contact folder
        call: graph-contacts-contact-folders.createcontactchildfolder
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/me/contactfolders/{contactfolder-id}/contacts
      name: me-contactfolders-contactfolder-id-contacts
      description: REST surface for me-contactFolders-contactFolder-id-contacts.
      operations:
      - method: GET
        name: listcontactsinfolder
        description: Microsoft Exchange List contacts in folder
        call: graph-contacts-contact-folders.listcontactsinfolder
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createcontactinfolder
        description: Microsoft Exchange Create contact in folder
        call: graph-contacts-contact-folders.createcontactinfolder
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: graph-contacts-contact-folders-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Exchange Microsoft Graph Contacts API — Contact Folders. One tool per consumed
      operation, routed inline through this capability's consumes block.
    tools:
    - name: microsoft-exchange-list-contact-folders
      description: Microsoft Exchange List contact folders
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: graph-contacts-contact-folders.listcontactfolders
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-exchange-create-contact-folder
      description: Microsoft Exchange Create contact folder
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: graph-contacts-contact-folders.createcontactfolder
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-exchange-get-contact-folder
      description: Microsoft Exchange Get contact folder
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: graph-contacts-contact-folders.getcontactfolder
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-exchange-update-contact-folder
      description: Microsoft Exchange Update contact folder
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: graph-contacts-contact-folders.updatecontactfolder
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-exchange-delete-contact-folder
      description: Microsoft Exchange Delete contact folder
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: graph-contacts-contact-folders.deletecontactfolder
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-exchange-list-child-contact
      description: Microsoft Exchange List child contact folders
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: graph-contacts-contact-folders.listcontactchildfolders
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-exchange-create-child-contact
      description: Microsoft Exchange Create child contact folder
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: graph-contacts-contact-folders.createcontactchildfolder
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-exchange-list-contacts-folder
      description: Microsoft Exchange List contacts in folder
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: graph-contacts-contact-folders.listcontactsinfolder
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-exchange-create-contact-folder-2
      description: Microsoft Exchange Create contact in folder
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: graph-contacts-contact-folders.createcontactinfolder
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.