Microsoft Graph · Capability

Microsoft Graph Domains — Domains.domain

Microsoft Graph Domains — Domains.domain. 7 operations. Lead operation: Microsoft Graph List domains. Self-contained Naftiko capability covering one Microsoft Graph business surface.

Run with Naftiko Microsoft GraphDomains.domain

What You Can Do

GET
Domainsdomainlistdomain — Microsoft Graph List domains
/v1/domains
POST
Domainsdomaincreatedomain — Microsoft Graph Create domain
/v1/domains
GET
Domainsgetcount3c31 — Microsoft Graph Get the number of the resource
/v1/domains/count
GET
Domainsdomaingetdomain — Microsoft Graph Get domain
/v1/domains/{domain-id}
PATCH
Domainsdomainupdatedomain — Microsoft Graph Update domain
/v1/domains/{domain-id}
DELETE
Domainsdomaindeletedomain — Microsoft Graph Delete domain
/v1/domains/{domain-id}
GET
Domainsgetrootdomain — Microsoft Graph Get rootDomain
/v1/domains/{domain-id}/rootdomain

MCP Tools

microsoft-graph-list-domains

Microsoft Graph List domains

read-only idempotent
microsoft-graph-create-domain

Microsoft Graph Create domain

microsoft-graph-get-number-resource

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-domain

Microsoft Graph Get domain

read-only idempotent
microsoft-graph-update-domain

Microsoft Graph Update domain

idempotent
microsoft-graph-delete-domain

Microsoft Graph Delete domain

idempotent
microsoft-graph-get-rootdomain

Microsoft Graph Get rootDomain

read-only idempotent

Capability Spec

domains-domains-domain.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph Domains — Domains.domain
  description: 'Microsoft Graph Domains — Domains.domain. 7 operations. Lead operation: Microsoft Graph List domains. Self-contained
    Naftiko capability covering one Microsoft Graph business surface.'
  tags:
  - Microsoft Graph
  - Domains.domain
  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: domains-domains-domain
    baseUri: ''
    description: Microsoft Graph Domains — Domains.domain business capability. Self-contained, no shared references.
    resources:
    - name: domains
      path: /domains
      operations:
      - name: domainsdomainlistdomain
        method: GET
        description: Microsoft Graph List domains
        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: domainsdomaincreatedomain
        method: POST
        description: Microsoft Graph Create domain
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: domains-$count
      path: /domains/$count
      operations:
      - name: domainsgetcount3c31
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: domains-domain-id
      path: /domains/{domain-id}
      operations:
      - name: domainsdomaingetdomain
        method: GET
        description: Microsoft Graph Get domain
        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: domainsdomainupdatedomain
        method: PATCH
        description: Microsoft Graph Update domain
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: domainsdomaindeletedomain
        method: DELETE
        description: Microsoft Graph Delete domain
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
    - name: domains-domain-id-rootDomain
      path: /domains/{domain-id}/rootDomain
      operations:
      - name: domainsgetrootdomain
        method: GET
        description: Microsoft Graph Get rootDomain
        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
  exposes:
  - type: rest
    namespace: domains-domains-domain-rest
    port: 8080
    description: REST adapter for Microsoft Graph Domains — Domains.domain. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/domains
      name: domains
      description: REST surface for domains.
      operations:
      - method: GET
        name: domainsdomainlistdomain
        description: Microsoft Graph List domains
        call: domains-domains-domain.domainsdomainlistdomain
        with:
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: domainsdomaincreatedomain
        description: Microsoft Graph Create domain
        call: domains-domains-domain.domainsdomaincreatedomain
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/domains/count
      name: domains-count
      description: REST surface for domains-$count.
      operations:
      - method: GET
        name: domainsgetcount3c31
        description: Microsoft Graph Get the number of the resource
        call: domains-domains-domain.domainsgetcount3c31
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/domains/{domain-id}
      name: domains-domain-id
      description: REST surface for domains-domain-id.
      operations:
      - method: GET
        name: domainsdomaingetdomain
        description: Microsoft Graph Get domain
        call: domains-domains-domain.domainsdomaingetdomain
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: domainsdomainupdatedomain
        description: Microsoft Graph Update domain
        call: domains-domains-domain.domainsdomainupdatedomain
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: domainsdomaindeletedomain
        description: Microsoft Graph Delete domain
        call: domains-domains-domain.domainsdomaindeletedomain
        with:
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/domains/{domain-id}/rootdomain
      name: domains-domain-id-rootdomain
      description: REST surface for domains-domain-id-rootDomain.
      operations:
      - method: GET
        name: domainsgetrootdomain
        description: Microsoft Graph Get rootDomain
        call: domains-domains-domain.domainsgetrootdomain
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: domains-domains-domain-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Graph Domains — Domains.domain. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: microsoft-graph-list-domains
      description: Microsoft Graph List domains
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: domains-domains-domain.domainsdomainlistdomain
      with:
        $orderby: tools.$orderby
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-create-domain
      description: Microsoft Graph Create domain
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: domains-domains-domain.domainsdomaincreatedomain
      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: domains-domains-domain.domainsgetcount3c31
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-domain
      description: Microsoft Graph Get domain
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: domains-domains-domain.domainsdomaingetdomain
      with:
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-update-domain
      description: Microsoft Graph Update domain
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: domains-domains-domain.domainsdomainupdatedomain
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-delete-domain
      description: Microsoft Graph Delete domain
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: domains-domains-domain.domainsdomaindeletedomain
      with:
        If-Match: tools.If-Match
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-rootdomain
      description: Microsoft Graph Get rootDomain
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: domains-domains-domain.domainsgetrootdomain
      with:
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.