naftiko: 1.0.0-alpha2 info: label: Microsoft Graph Contacts — contacts.directoryObject description: 'Microsoft Graph Contacts — contacts.directoryObject. 28 operations. Lead operation: Microsoft Graph List directReports. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - contacts.directoryObject 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: contacts-contacts-directoryobject baseUri: '' description: Microsoft Graph Contacts — contacts.directoryObject business capability. Self-contained, no shared references. resources: - name: contacts-orgContact-id-directReports path: /contacts/{orgContact-id}/directReports operations: - name: contactslistdirectreports method: GET description: Microsoft Graph List directReports outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ConsistencyLevel in: header type: string description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' - 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: contacts-orgContact-id-directReports-$count path: /contacts/{orgContact-id}/directReports/$count operations: - name: contactsdirectreportsgetcount94c4 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ConsistencyLevel in: header type: string description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' - name: contacts-orgContact-id-directReports-graph.orgContact path: /contacts/{orgContact-id}/directReports/graph.orgContact operations: - name: contactslistdirectreportsasorgcontact method: GET description: Microsoft Graph Get the items of type microsoft.graph.orgContact in the microsoft.graph.directoryObject collection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ConsistencyLevel in: header type: string description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' - 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: contacts-orgContact-id-directReports-graph.orgContact-$count path: /contacts/{orgContact-id}/directReports/graph.orgContact/$count operations: - name: contactsdirectreportsgetcountasorgcontact315a method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ConsistencyLevel in: header type: string description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' - name: contacts-orgContact-id-directReports-graph.user path: /contacts/{orgContact-id}/directReports/graph.user operations: - name: contactslistdirectreportsasuser method: GET description: Microsoft Graph Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ConsistencyLevel in: header type: string description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' - 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: contacts-orgContact-id-directReports-graph.user-$count path: /contacts/{orgContact-id}/directReports/graph.user/$count operations: - name: contactsdirectreportsgetcountasuser5746 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ConsistencyLevel in: header type: string description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' - name: contacts-orgContact-id-directReports-directoryObject-id path: /contacts/{orgContact-id}/directReports/{directoryObject-id} operations: - name: contactsgetdirectreports method: GET description: Microsoft Graph Get directReports from contacts outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ConsistencyLevel in: header type: string description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: contacts-orgContact-id-directReports-directoryObject-id-graph.orgContact path: /contacts/{orgContact-id}/directReports/{directoryObject-id}/graph.orgContact operations: - name: contactsgetdirectreportsasorgcontact method: GET description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ConsistencyLevel in: header type: string description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: contacts-orgContact-id-directReports-directoryObject-id-graph.user path: /contacts/{orgContact-id}/directReports/{directoryObject-id}/graph.user operations: - name: contactsgetdirectreportsasuser method: GET description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.user outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ConsistencyLevel in: header type: string description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: contacts-orgContact-id-manager path: /contacts/{orgContact-id}/manager operations: - name: contactsgetmanager method: GET description: Microsoft Graph Get manager 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: contacts-orgContact-id-memberOf path: /contacts/{orgContact-id}/memberOf operations: - name: contactslistmemberof method: GET description: Microsoft Graph List memberOf outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ConsistencyLevel in: header type: string description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' - 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: contacts-orgContact-id-memberOf-$count path: /contacts/{orgContact-id}/memberOf/$count operations: - name: contactsmemberofgetcount46e4 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ConsistencyLevel in: header type: string description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' - name: contacts-orgContact-id-memberOf-graph.administrativeUnit path: /contacts/{orgContact-id}/memberOf/graph.administrativeUnit operations: - name: contactslistmemberofasadministrativeunit method: GET description: Microsoft Graph Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ConsistencyLevel in: header type: string description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' - 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: contacts-orgContact-id-memberOf-graph.administrativeUnit-$count path: /contacts/{orgContact-id}/memberOf/graph.administrativeUnit/$count operations: - name: contactsmemberofgetcountasadministrativeunitdb20 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ConsistencyLevel in: header type: string description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' - name: contacts-orgContact-id-memberOf-graph.group path: /contacts/{orgContact-id}/memberOf/graph.group operations: - name: contactslistmemberofasgroup method: GET description: Microsoft Graph Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ConsistencyLevel in: header type: string description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' - 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: contacts-orgContact-id-memberOf-graph.group-$count path: /contacts/{orgContact-id}/memberOf/graph.group/$count operations: - name: contactsmemberofgetcountasgroupdf93 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ConsistencyLevel in: header type: string description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' - name: contacts-orgContact-id-memberOf-directoryObject-id path: /contacts/{orgContact-id}/memberOf/{directoryObject-id} operations: - name: contactsgetmemberof method: GET description: Microsoft Graph Get memberOf from contacts outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ConsistencyLevel in: header type: string description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: contacts-orgContact-id-memberOf-directoryObject-id-graph.administrativeUnit path: /contacts/{orgContact-id}/memberOf/{directoryObject-id}/graph.administrativeUnit operations: - name: contactsgetmemberofasadministrativeunit method: GET description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ConsistencyLevel in: header type: string description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: contacts-orgContact-id-memberOf-directoryObject-id-graph.group path: /contacts/{orgContact-id}/memberOf/{directoryObject-id}/graph.group operations: - name: contactsgetmemberofasgroup method: GET description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ConsistencyLevel in: header type: string description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: contacts-orgContact-id-transitiveMemberOf path: /contacts/{orgContact-id}/transitiveMemberOf operations: - name: contactslisttransitivememberof method: GET description: Microsoft Graph List transitiveMemberOf outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ConsistencyLevel in: header type: string description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' - 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: contacts-orgContact-id-transitiveMemberOf-$count path: /contacts/{orgContact-id}/transitiveMemberOf/$count operations: - name: contactstransitivememberofgetcountd749 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ConsistencyLevel in: header type: string description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' - name: contacts-orgContact-id-transitiveMemberOf-graph.administrativeUnit path: /contacts/{orgContact-id}/transitiveMemberOf/graph.administrativeUnit operations: - name: contactslisttransitivememberofasadministrativeunit method: GET description: Microsoft Graph Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ConsistencyLevel in: header type: string description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' - 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: contacts-orgContact-id-transitiveMemberOf-graph.administrativeUnit-$count path: /contacts/{orgContact-id}/transitiveMemberOf/graph.administrativeUnit/$count operations: - name: contactstransitivememberofgetcountasadministrativeunitd6cb method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ConsistencyLevel in: header type: string description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' - name: contacts-orgContact-id-transitiveMemberOf-graph.group path: /contacts/{orgContact-id}/transitiveMemberOf/graph.group operations: - name: contactslisttransitivememberofasgroup method: GET description: Microsoft Graph Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ConsistencyLevel in: header type: string description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' - 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: contacts-orgContact-id-transitiveMemberOf-graph.group-$count path: /contacts/{orgContact-id}/transitiveMemberOf/graph.group/$count operations: - name: contactstransitivememberofgetcountasgroupe1a5 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ConsistencyLevel in: header type: string description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' - name: contacts-orgContact-id-transitiveMemberOf-directoryObject-id path: /contacts/{orgContact-id}/transitiveMemberOf/{directoryObject-id} operations: - name: contactsgettransitivememberof method: GET description: Microsoft Graph Get transitiveMemberOf from contacts outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ConsistencyLevel in: header type: string description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: contacts-orgContact-id-transitiveMemberOf-directoryObject-id-graph.administrativ path: /contacts/{orgContact-id}/transitiveMemberOf/{directoryObject-id}/graph.administrativeUnit operations: - name: contactsgettransitivememberofasadministrativeunit method: GET description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ConsistencyLevel in: header type: string description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: contacts-orgContact-id-transitiveMemberOf-directoryObject-id-graph.group path: /contacts/{orgContact-id}/transitiveMemberOf/{directoryObject-id}/graph.group operations: - name: contactsgettransitivememberofasgroup method: GET description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ConsistencyLevel in: header type: string description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' - 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: contacts-contacts-directoryobject-rest port: 8080 description: REST adapter for Microsoft Graph Contacts — contacts.directoryObject. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/contacts/{orgcontact-id}/directreports name: contacts-orgcontact-id-directreports description: REST surface for contacts-orgContact-id-directReports. operations: - method: GET name: contactslistdirectreports description: Microsoft Graph List directReports call: contacts-contacts-directoryobject.contactslistdirectreports with: ConsistencyLevel: rest.ConsistencyLevel $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/contacts/{orgcontact-id}/directreports/count name: contacts-orgcontact-id-directreports-count description: REST surface for contacts-orgContact-id-directReports-$count. operations: - method: GET name: contactsdirectreportsgetcount94c4 description: Microsoft Graph Get the number of the resource call: contacts-contacts-directoryobject.contactsdirectreportsgetcount94c4 with: ConsistencyLevel: rest.ConsistencyLevel outputParameters: - type: object mapping: $. - path: /v1/contacts/{orgcontact-id}/directreports/graph-orgcontact name: contacts-orgcontact-id-directreports-graph-orgcontact description: REST surface for contacts-orgContact-id-directReports-graph.orgContact. operations: - method: GET name: contactslistdirectreportsasorgcontact description: Microsoft Graph Get the items of type microsoft.graph.orgContact in the microsoft.graph.directoryObject collection call: contacts-contacts-directoryobject.contactslistdirectreportsasorgcontact with: ConsistencyLevel: rest.ConsistencyLevel $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/contacts/{orgcontact-id}/directreports/graph-orgcontact/count name: contacts-orgcontact-id-directreports-graph-orgcontact-count description: REST surface for contacts-orgContact-id-directReports-graph.orgContact-$count. operations: - method: GET name: contactsdirectreportsgetcountasorgcontact315a description: Microsoft Graph Get the number of the resource call: contacts-contacts-directoryobject.contactsdirectreportsgetcountasorgcontact315a with: ConsistencyLevel: rest.ConsistencyLevel outputParameters: - type: object mapping: $. - path: /v1/contacts/{orgcontact-id}/directreports/graph-user name: contacts-orgcontact-id-directreports-graph-user description: REST surface for contacts-orgContact-id-directReports-graph.user. operations: - method: GET name: contactslistdirectreportsasuser description: Microsoft Graph Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection call: contacts-contacts-directoryobject.contactslistdirectreportsasuser with: ConsistencyLevel: rest.ConsistencyLevel $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/contacts/{orgcontact-id}/directreports/graph-user/count name: contacts-orgcontact-id-directreports-graph-user-count description: REST surface for contacts-orgContact-id-directReports-graph.user-$count. operations: - method: GET name: contactsdirectreportsgetcountasuser5746 description: Microsoft Graph Get the number of the resource call: contacts-contacts-directoryobject.contactsdirectreportsgetcountasuser5746 with: ConsistencyLevel: rest.ConsistencyLevel outputParameters: - type: object mapping: $. - path: /v1/contacts/{orgcontact-id}/directreports/{directoryobject-id} name: contacts-orgcontact-id-directreports-directoryobject-id description: REST surface for contacts-orgContact-id-directReports-directoryObject-id. operations: - method: GET name: contactsgetdirectreports description: Microsoft Graph Get directReports from contacts call: contacts-contacts-directoryobject.contactsgetdirectreports with: ConsistencyLevel: rest.ConsistencyLevel $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/contacts/{orgcontact-id}/directreports/{directoryobject-id}/graph-orgcontact name: contacts-orgcontact-id-directreports-directoryobject-id-graph-orgcontact description: REST surface for contacts-orgContact-id-directReports-directoryObject-id-graph.orgContact. operations: - method: GET name: contactsgetdirectreportsasorgcontact description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact call: contacts-contacts-directoryobject.contactsgetdirectreportsasorgcontact with: ConsistencyLevel: rest.ConsistencyLevel $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/contacts/{orgcontact-id}/directreports/{directoryobject-id}/graph-user name: contacts-orgcontact-id-directreports-directoryobject-id-graph-user description: REST surface for contacts-orgContact-id-directReports-directoryObject-id-graph.user. operations: - method: GET name: contactsgetdirectreportsasuser description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.user call: contacts-contacts-directoryobject.contactsgetdirectreportsasuser with: ConsistencyLevel: rest.ConsistencyLevel $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/contacts/{orgcontact-id}/manager name: contacts-orgcontact-id-manager description: REST surface for contacts-orgContact-id-manager. operations: - method: GET name: contactsgetmanager description: Microsoft Graph Get manager call: contacts-contacts-directoryobject.contactsgetmanager with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/contacts/{orgcontact-id}/memberof name: contacts-orgcontact-id-memberof description: REST surface for contacts-orgContact-id-memberOf. operations: - method: GET name: contactslistmemberof description: Microsoft Graph List memberOf call: contacts-contacts-directoryobject.contactslistmemberof with: ConsistencyLevel: rest.ConsistencyLevel $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/contacts/{orgcontact-id}/memberof/count name: contacts-orgcontact-id-memberof-count description: REST surface for contacts-orgContact-id-memberOf-$count. operations: - method: GET name: contactsmemberofgetcount46e4 description: Microsoft Graph Get the number of the resource call: contacts-contacts-directoryobject.contactsmemberofgetcount46e4 with: ConsistencyLevel: rest.ConsistencyLevel outputParameters: - type: object mapping: $. - path: /v1/contacts/{orgcontact-id}/memberof/graph-administrativeunit name: contacts-orgcontact-id-memberof-graph-administrativeunit description: REST surface for contacts-orgContact-id-memberOf-graph.administrativeUnit. operations: - method: GET name: contactslistmemberofasadministrativeunit description: Microsoft Graph Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection call: contacts-contacts-directoryobject.contactslistmemberofasadministrativeunit with: ConsistencyLevel: rest.ConsistencyLevel $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/contacts/{orgcontact-id}/memberof/graph-administrativeunit/count name: contacts-orgcontact-id-memberof-graph-administrativeunit-count description: REST surface for contacts-orgContact-id-memberOf-graph.administrativeUnit-$count. operations: - method: GET name: contactsmemberofgetcountasadministrativeunitdb20 description: Microsoft Graph Get the number of the resource call: contacts-contacts-directoryobject.contactsmemberofgetcountasadministrativeunitdb20 with: ConsistencyLevel: rest.ConsistencyLevel outputParameters: - type: object mapping: $. - path: /v1/contacts/{orgcontact-id}/memberof/graph-group name: contacts-orgcontact-id-memberof-graph-group description: REST surface for contacts-orgContact-id-memberOf-graph.group. operations: - method: GET name: contactslistmemberofasgroup description: Microsoft Graph Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection call: contacts-contacts-directoryobject.contactslistmemberofasgroup with: ConsistencyLevel: rest.ConsistencyLevel $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/contacts/{orgcontact-id}/memberof/graph-group/count name: contacts-orgcontact-id-memberof-graph-group-count description: REST surface for contacts-orgContact-id-memberOf-graph.group-$count. operations: - method: GET name: contactsmemberofgetcountasgroupdf93 description: Microsoft Graph Get the number of the resource call: contacts-contacts-directoryobject.contactsmemberofgetcountasgroupdf93 with: ConsistencyLevel: rest.ConsistencyLevel outputParameters: - type: object mapping: $. - path: /v1/contacts/{orgcontact-id}/memberof/{directoryobject-id} name: contacts-orgcontact-id-memberof-directoryobject-id description: REST surface for contacts-orgContact-id-memberOf-directoryObject-id. operations: - method: GET name: contactsgetmemberof description: Microsoft Graph Get memberOf from contacts call: contacts-contacts-directoryobject.contactsgetmemberof with: ConsistencyLevel: rest.ConsistencyLevel $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/contacts/{orgcontact-id}/memberof/{directoryobject-id}/graph-administrativeunit name: contacts-orgcontact-id-memberof-directoryobject-id-graph-administrativeunit description: REST surface for contacts-orgContact-id-memberOf-directoryObject-id-graph.administrativeUnit. operations: - method: GET name: contactsgetmemberofasadministrativeunit description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit call: contacts-contacts-directoryobject.contactsgetmemberofasadministrativeunit with: ConsistencyLevel: rest.ConsistencyLevel $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/contacts/{orgcontact-id}/memberof/{directoryobject-id}/graph-group name: contacts-orgcontact-id-memberof-directoryobject-id-graph-group description: REST surface for contacts-orgContact-id-memberOf-directoryObject-id-graph.group. operations: - method: GET name: contactsgetmemberofasgroup description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.group call: contacts-contacts-directoryobject.contactsgetmemberofasgroup with: ConsistencyLevel: rest.ConsistencyLevel $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/contacts/{orgcontact-id}/transitivememberof name: contacts-orgcontact-id-transitivememberof description: REST surface for contacts-orgContact-id-transitiveMemberOf. operations: - method: GET name: contactslisttransitivememberof description: Microsoft Graph List transitiveMemberOf call: contacts-contacts-directoryobject.contactslisttransitivememberof with: ConsistencyLevel: rest.ConsistencyLevel $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/contacts/{orgcontact-id}/transitivememberof/count name: contacts-orgcontact-id-transitivememberof-count description: REST surface for contacts-orgContact-id-transitiveMemberOf-$count. operations: - method: GET name: contactstransitivememberofgetcountd749 description: Microsoft Graph Get the number of the resource call: contacts-contacts-directoryobject.contactstransitivememberofgetcountd749 with: ConsistencyLevel: rest.ConsistencyLevel outputParameters: - type: object mapping: $. - path: /v1/contacts/{orgcontact-id}/transitivememberof/graph-administrativeunit name: contacts-orgcontact-id-transitivememberof-graph-administrativeunit description: REST surface for contacts-orgContact-id-transitiveMemberOf-graph.administrativeUnit. operations: - method: GET name: contactslisttransitivememberofasadministrativeunit description: Microsoft Graph Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection call: contacts-contacts-directoryobject.contactslisttransitivememberofasadministrativeunit with: ConsistencyLevel: rest.ConsistencyLevel $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/contacts/{orgcontact-id}/transitivememberof/graph-administrativeunit/count name: contacts-orgcontact-id-transitivememberof-graph-administrativeunit-count description: REST surface for contacts-orgContact-id-transitiveMemberOf-graph.administrativeUnit-$count. operations: - method: GET name: contactstransitivememberofgetcountasadministrativeunitd6cb description: Microsoft Graph Get the number of the resource call: contacts-contacts-directoryobject.contactstransitivememberofgetcountasadministrativeunitd6cb with: ConsistencyLevel: rest.ConsistencyLevel outputParameters: - type: object mapping: $. - path: /v1/contacts/{orgcontact-id}/transitivememberof/graph-group name: contacts-orgcontact-id-transitivememberof-graph-group description: REST surface for contacts-orgContact-id-transitiveMemberOf-graph.group. operations: - method: GET name: contactslisttransitivememberofasgroup description: Microsoft Graph Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection call: contacts-contacts-directoryobject.contactslisttransitivememberofasgroup with: ConsistencyLevel: rest.ConsistencyLevel $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/contacts/{orgcontact-id}/transitivememberof/graph-group/count name: contacts-orgcontact-id-transitivememberof-graph-group-count description: REST surface for contacts-orgContact-id-transitiveMemberOf-graph.group-$count. operations: - method: GET name: contactstransitivememberofgetcountasgroupe1a5 description: Microsoft Graph Get the number of the resource call: contacts-contacts-directoryobject.contactstransitivememberofgetcountasgroupe1a5 with: ConsistencyLevel: rest.ConsistencyLevel outputParameters: - type: object mapping: $. - path: /v1/contacts/{orgcontact-id}/transitivememberof/{directoryobject-id} name: contacts-orgcontact-id-transitivememberof-directoryobject-id description: REST surface for contacts-orgContact-id-transitiveMemberOf-directoryObject-id. operations: - method: GET name: contactsgettransitivememberof description: Microsoft Graph Get transitiveMemberOf from contacts call: contacts-contacts-directoryobject.contactsgettransitivememberof with: ConsistencyLevel: rest.ConsistencyLevel $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/contacts/{orgcontact-id}/transitivememberof/{directoryobject-id}/graph-administrativeunit name: contacts-orgcontact-id-transitivememberof-directoryobject-id-graph-administrativ description: REST surface for contacts-orgContact-id-transitiveMemberOf-directoryObject-id-graph.administrativ. operations: - method: GET name: contactsgettransitivememberofasadministrativeunit description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit call: contacts-contacts-directoryobject.contactsgettransitivememberofasadministrativeunit with: ConsistencyLevel: rest.ConsistencyLevel $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/contacts/{orgcontact-id}/transitivememberof/{directoryobject-id}/graph-group name: contacts-orgcontact-id-transitivememberof-directoryobject-id-graph-group description: REST surface for contacts-orgContact-id-transitiveMemberOf-directoryObject-id-graph.group. operations: - method: GET name: contactsgettransitivememberofasgroup description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.group call: contacts-contacts-directoryobject.contactsgettransitivememberofasgroup with: ConsistencyLevel: rest.ConsistencyLevel $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - type: mcp namespace: contacts-contacts-directoryobject-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph Contacts — contacts.directoryObject. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-list-directreports description: Microsoft Graph List directReports hints: readOnly: true destructive: false idempotent: true call: contacts-contacts-directoryobject.contactslistdirectreports with: ConsistencyLevel: tools.ConsistencyLevel $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand 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: contacts-contacts-directoryobject.contactsdirectreportsgetcount94c4 with: ConsistencyLevel: tools.ConsistencyLevel outputParameters: - type: object mapping: $. - name: microsoft-graph-get-items-type description: Microsoft Graph Get the items of type microsoft.graph.orgContact in the microsoft.graph.directoryObject collection hints: readOnly: true destructive: false idempotent: true call: contacts-contacts-directoryobject.contactslistdirectreportsasorgcontact with: ConsistencyLevel: tools.ConsistencyLevel $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand 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: contacts-contacts-directoryobject.contactsdirectreportsgetcountasorgcontact315a with: ConsistencyLevel: tools.ConsistencyLevel outputParameters: - type: object mapping: $. - name: microsoft-graph-get-items-type-2 description: Microsoft Graph Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection hints: readOnly: true destructive: false idempotent: true call: contacts-contacts-directoryobject.contactslistdirectreportsasuser with: ConsistencyLevel: tools.ConsistencyLevel $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-number-resource-3 description: Microsoft Graph Get the number of the resource hints: readOnly: true destructive: false idempotent: true call: contacts-contacts-directoryobject.contactsdirectreportsgetcountasuser5746 with: ConsistencyLevel: tools.ConsistencyLevel outputParameters: - type: object mapping: $. - name: microsoft-graph-get-directreports-contacts description: Microsoft Graph Get directReports from contacts hints: readOnly: true destructive: false idempotent: true call: contacts-contacts-directoryobject.contactsgetdirectreports with: ConsistencyLevel: tools.ConsistencyLevel $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-item-type description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact hints: readOnly: true destructive: false idempotent: true call: contacts-contacts-directoryobject.contactsgetdirectreportsasorgcontact with: ConsistencyLevel: tools.ConsistencyLevel $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-item-type-2 description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.user hints: readOnly: true destructive: false idempotent: true call: contacts-contacts-directoryobject.contactsgetdirectreportsasuser with: ConsistencyLevel: tools.ConsistencyLevel $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-manager description: Microsoft Graph Get manager hints: readOnly: true destructive: false idempotent: true call: contacts-contacts-directoryobject.contactsgetmanager with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-list-memberof description: Microsoft Graph List memberOf hints: readOnly: true destructive: false idempotent: true call: contacts-contacts-directoryobject.contactslistmemberof with: ConsistencyLevel: tools.ConsistencyLevel $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-number-resource-4 description: Microsoft Graph Get the number of the resource hints: readOnly: true destructive: false idempotent: true call: contacts-contacts-directoryobject.contactsmemberofgetcount46e4 with: ConsistencyLevel: tools.ConsistencyLevel outputParameters: - type: object mapping: $. - name: microsoft-graph-get-items-type-3 description: Microsoft Graph Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection hints: readOnly: true destructive: false idempotent: true call: contacts-contacts-directoryobject.contactslistmemberofasadministrativeunit with: ConsistencyLevel: tools.ConsistencyLevel $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-number-resource-5 description: Microsoft Graph Get the number of the resource hints: readOnly: true destructive: false idempotent: true call: contacts-contacts-directoryobject.contactsmemberofgetcountasadministrativeunitdb20 with: ConsistencyLevel: tools.ConsistencyLevel outputParameters: - type: object mapping: $. - name: microsoft-graph-get-items-type-4 description: Microsoft Graph Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection hints: readOnly: true destructive: false idempotent: true call: contacts-contacts-directoryobject.contactslistmemberofasgroup with: ConsistencyLevel: tools.ConsistencyLevel $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-number-resource-6 description: Microsoft Graph Get the number of the resource hints: readOnly: true destructive: false idempotent: true call: contacts-contacts-directoryobject.contactsmemberofgetcountasgroupdf93 with: ConsistencyLevel: tools.ConsistencyLevel outputParameters: - type: object mapping: $. - name: microsoft-graph-get-memberof-contacts description: Microsoft Graph Get memberOf from contacts hints: readOnly: true destructive: false idempotent: true call: contacts-contacts-directoryobject.contactsgetmemberof with: ConsistencyLevel: tools.ConsistencyLevel $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-item-type-3 description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit hints: readOnly: true destructive: false idempotent: true call: contacts-contacts-directoryobject.contactsgetmemberofasadministrativeunit with: ConsistencyLevel: tools.ConsistencyLevel $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-item-type-4 description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.group hints: readOnly: true destructive: false idempotent: true call: contacts-contacts-directoryobject.contactsgetmemberofasgroup with: ConsistencyLevel: tools.ConsistencyLevel $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-list-transitivememberof description: Microsoft Graph List transitiveMemberOf hints: readOnly: true destructive: false idempotent: true call: contacts-contacts-directoryobject.contactslisttransitivememberof with: ConsistencyLevel: tools.ConsistencyLevel $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-number-resource-7 description: Microsoft Graph Get the number of the resource hints: readOnly: true destructive: false idempotent: true call: contacts-contacts-directoryobject.contactstransitivememberofgetcountd749 with: ConsistencyLevel: tools.ConsistencyLevel outputParameters: - type: object mapping: $. - name: microsoft-graph-get-items-type-5 description: Microsoft Graph Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection hints: readOnly: true destructive: false idempotent: true call: contacts-contacts-directoryobject.contactslisttransitivememberofasadministrativeunit with: ConsistencyLevel: tools.ConsistencyLevel $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-number-resource-8 description: Microsoft Graph Get the number of the resource hints: readOnly: true destructive: false idempotent: true call: contacts-contacts-directoryobject.contactstransitivememberofgetcountasadministrativeunitd6cb with: ConsistencyLevel: tools.ConsistencyLevel outputParameters: - type: object mapping: $. - name: microsoft-graph-get-items-type-6 description: Microsoft Graph Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection hints: readOnly: true destructive: false idempotent: true call: contacts-contacts-directoryobject.contactslisttransitivememberofasgroup with: ConsistencyLevel: tools.ConsistencyLevel $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-number-resource-9 description: Microsoft Graph Get the number of the resource hints: readOnly: true destructive: false idempotent: true call: contacts-contacts-directoryobject.contactstransitivememberofgetcountasgroupe1a5 with: ConsistencyLevel: tools.ConsistencyLevel outputParameters: - type: object mapping: $. - name: microsoft-graph-get-transitivememberof-contacts description: Microsoft Graph Get transitiveMemberOf from contacts hints: readOnly: true destructive: false idempotent: true call: contacts-contacts-directoryobject.contactsgettransitivememberof with: ConsistencyLevel: tools.ConsistencyLevel $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-item-type-5 description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit hints: readOnly: true destructive: false idempotent: true call: contacts-contacts-directoryobject.contactsgettransitivememberofasadministrativeunit with: ConsistencyLevel: tools.ConsistencyLevel $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-item-type-6 description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.group hints: readOnly: true destructive: false idempotent: true call: contacts-contacts-directoryobject.contactsgettransitivememberofasgroup with: ConsistencyLevel: tools.ConsistencyLevel $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $.