Microsoft · Capability

Microsoft Outlook API — Contacts

Microsoft Outlook API — Contacts. 2 operations. Lead operation: Microsoft List contacts. Self-contained Naftiko capability covering one Microsoft business surface.

Run with Naftiko MicrosoftContacts

What You Can Do

GET
Listcontacts — Microsoft List contacts
/v1/contacts
POST
Createcontact — Microsoft Create a contact
/v1/contacts

MCP Tools

microsoft-list-contacts

Microsoft List contacts

read-only idempotent
microsoft-create-contact

Microsoft Create a contact

Capability Spec

outlook-contacts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Outlook API — Contacts
  description: 'Microsoft Outlook API — Contacts. 2 operations. Lead operation: Microsoft List contacts. Self-contained Naftiko
    capability covering one Microsoft business surface.'
  tags:
  - Microsoft
  - Contacts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_API_KEY: MICROSOFT_API_KEY
capability:
  consumes:
  - type: http
    namespace: outlook-contacts
    baseUri: https://graph.microsoft.com/v1.0/me
    description: Microsoft Outlook API — Contacts business capability. Self-contained, no shared references.
    resources:
    - name: contacts
      path: /contacts
      operations:
      - name: listcontacts
        method: GET
        description: Microsoft List contacts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createcontact
        method: POST
        description: Microsoft Create a contact
        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_API_KEY}}'
  exposes:
  - type: rest
    namespace: outlook-contacts-rest
    port: 8080
    description: REST adapter for Microsoft Outlook API — Contacts. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/contacts
      name: contacts
      description: REST surface for contacts.
      operations:
      - method: GET
        name: listcontacts
        description: Microsoft List contacts
        call: outlook-contacts.listcontacts
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createcontact
        description: Microsoft Create a contact
        call: outlook-contacts.createcontact
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: outlook-contacts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Outlook API — Contacts. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: microsoft-list-contacts
      description: Microsoft List contacts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: outlook-contacts.listcontacts
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-create-contact
      description: Microsoft Create a contact
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: outlook-contacts.createcontact
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.