Microsoft Graph · Capability

Microsoft Graph Directory — directory.attributeSet

Microsoft Graph Directory — directory.attributeSet. 6 operations. Lead operation: Microsoft Graph List attributeSets. Self-contained Naftiko capability covering one Microsoft Graph business surface.

Run with Naftiko Microsoft Graphdirectory.attributeSet

What You Can Do

GET
Directorylistattributesets — Microsoft Graph List attributeSets
/v1/directory/attributesets
POST
Directorycreateattributesets — Microsoft Graph Create attributeSet
/v1/directory/attributesets
GET
Directoryattributesetsgetcount147b — Microsoft Graph Get the number of the resource
/v1/directory/attributesets/count
GET
Directorygetattributesets — Microsoft Graph Get attributeSet
/v1/directory/attributesets/{attributeset-id}
PATCH
Directoryupdateattributesets — Microsoft Graph Update attributeSet
/v1/directory/attributesets/{attributeset-id}
DELETE
Directorydeleteattributesets — Microsoft Graph Delete navigation property attributeSets for directory
/v1/directory/attributesets/{attributeset-id}

MCP Tools

microsoft-graph-list-attributesets

Microsoft Graph List attributeSets

read-only idempotent
microsoft-graph-create-attributeset

Microsoft Graph Create attributeSet

microsoft-graph-get-number-resource

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-attributeset

Microsoft Graph Get attributeSet

read-only idempotent
microsoft-graph-update-attributeset

Microsoft Graph Update attributeSet

idempotent
microsoft-graph-delete-navigation-property

Microsoft Graph Delete navigation property attributeSets for directory

idempotent

Capability Spec

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