naftiko: 1.0.0-alpha2 info: label: Microsoft Graph Groups — external.externalConnection description: 'Microsoft Graph Groups — external.externalConnection. 12 operations. Lead operation: Microsoft Graph Get externalGroup. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - external.externalConnection 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: groups-external-externalconnection baseUri: '' description: Microsoft Graph Groups — external.externalConnection business capability. Self-contained, no shared references. resources: - name: external-connections-externalConnection-id-groups path: /external/connections/{externalConnection-id}/groups operations: - name: externalconnectionslistgroups method: GET description: Microsoft Graph Get externalGroup 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: externalconnectionscreategroups method: POST description: Microsoft Graph Create externalGroup outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: external-connections-externalConnection-id-groups-$count path: /external/connections/{externalConnection-id}/groups/$count operations: - name: externalconnectionsgroupsgetcount51f5 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: external-connections-externalConnection-id-groups-externalGroup-id path: /external/connections/{externalConnection-id}/groups/{externalGroup-id} operations: - name: externalconnectionsgetgroups method: GET description: Microsoft Graph Get externalGroup 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: externalconnectionsupdategroups method: PATCH description: Microsoft Graph Update externalGroup outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: externalconnectionsdeletegroups method: DELETE description: Microsoft Graph Delete externalGroup outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag - name: external-connections-externalConnection-id-groups-externalGroup-id-members path: /external/connections/{externalConnection-id}/groups/{externalGroup-id}/members operations: - name: externalconnectionsgroupslistmembers method: GET description: Microsoft Graph Get members from external 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: externalconnectionsgroupscreatemembers method: POST description: Microsoft Graph Create identity outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: external-connections-externalConnection-id-groups-externalGroup-id-members-$coun path: /external/connections/{externalConnection-id}/groups/{externalGroup-id}/members/$count operations: - name: externalconnectionsgroupsmembersgetcount482b method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: external-connections-externalConnection-id-groups-externalGroup-id-members-ident path: /external/connections/{externalConnection-id}/groups/{externalGroup-id}/members/{identity-id} operations: - name: externalconnectionsgroupsgetmembers method: GET description: Microsoft Graph Get members from external 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: externalconnectionsgroupsupdatemembers method: PATCH description: Microsoft Graph Update the navigation property members in external outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: externalconnectionsgroupsdeletemembers method: DELETE description: Microsoft Graph Delete identity outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag exposes: - type: rest namespace: groups-external-externalconnection-rest port: 8080 description: REST adapter for Microsoft Graph Groups — external.externalConnection. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/external/connections/{externalconnection-id}/groups name: external-connections-externalconnection-id-groups description: REST surface for external-connections-externalConnection-id-groups. operations: - method: GET name: externalconnectionslistgroups description: Microsoft Graph Get externalGroup call: groups-external-externalconnection.externalconnectionslistgroups with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: externalconnectionscreategroups description: Microsoft Graph Create externalGroup call: groups-external-externalconnection.externalconnectionscreategroups with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/external/connections/{externalconnection-id}/groups/count name: external-connections-externalconnection-id-groups-count description: REST surface for external-connections-externalConnection-id-groups-$count. operations: - method: GET name: externalconnectionsgroupsgetcount51f5 description: Microsoft Graph Get the number of the resource call: groups-external-externalconnection.externalconnectionsgroupsgetcount51f5 outputParameters: - type: object mapping: $. - path: /v1/external/connections/{externalconnection-id}/groups/{externalgroup-id} name: external-connections-externalconnection-id-groups-externalgroup-id description: REST surface for external-connections-externalConnection-id-groups-externalGroup-id. operations: - method: GET name: externalconnectionsgetgroups description: Microsoft Graph Get externalGroup call: groups-external-externalconnection.externalconnectionsgetgroups with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: externalconnectionsupdategroups description: Microsoft Graph Update externalGroup call: groups-external-externalconnection.externalconnectionsupdategroups with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: externalconnectionsdeletegroups description: Microsoft Graph Delete externalGroup call: groups-external-externalconnection.externalconnectionsdeletegroups with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/external/connections/{externalconnection-id}/groups/{externalgroup-id}/members name: external-connections-externalconnection-id-groups-externalgroup-id-members description: REST surface for external-connections-externalConnection-id-groups-externalGroup-id-members. operations: - method: GET name: externalconnectionsgroupslistmembers description: Microsoft Graph Get members from external call: groups-external-externalconnection.externalconnectionsgroupslistmembers with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: externalconnectionsgroupscreatemembers description: Microsoft Graph Create identity call: groups-external-externalconnection.externalconnectionsgroupscreatemembers with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/external/connections/{externalconnection-id}/groups/{externalgroup-id}/members/count name: external-connections-externalconnection-id-groups-externalgroup-id-members-coun description: REST surface for external-connections-externalConnection-id-groups-externalGroup-id-members-$coun. operations: - method: GET name: externalconnectionsgroupsmembersgetcount482b description: Microsoft Graph Get the number of the resource call: groups-external-externalconnection.externalconnectionsgroupsmembersgetcount482b outputParameters: - type: object mapping: $. - path: /v1/external/connections/{externalconnection-id}/groups/{externalgroup-id}/members/{identity-id} name: external-connections-externalconnection-id-groups-externalgroup-id-members-ident description: REST surface for external-connections-externalConnection-id-groups-externalGroup-id-members-ident. operations: - method: GET name: externalconnectionsgroupsgetmembers description: Microsoft Graph Get members from external call: groups-external-externalconnection.externalconnectionsgroupsgetmembers with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: externalconnectionsgroupsupdatemembers description: Microsoft Graph Update the navigation property members in external call: groups-external-externalconnection.externalconnectionsgroupsupdatemembers with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: externalconnectionsgroupsdeletemembers description: Microsoft Graph Delete identity call: groups-external-externalconnection.externalconnectionsgroupsdeletemembers with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - type: mcp namespace: groups-external-externalconnection-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph Groups — external.externalConnection. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-get-externalgroup description: Microsoft Graph Get externalGroup hints: readOnly: true destructive: false idempotent: true call: groups-external-externalconnection.externalconnectionslistgroups with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-create-externalgroup description: Microsoft Graph Create externalGroup hints: readOnly: false destructive: false idempotent: false call: groups-external-externalconnection.externalconnectionscreategroups 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: groups-external-externalconnection.externalconnectionsgroupsgetcount51f5 outputParameters: - type: object mapping: $. - name: microsoft-graph-get-externalgroup-2 description: Microsoft Graph Get externalGroup hints: readOnly: true destructive: false idempotent: true call: groups-external-externalconnection.externalconnectionsgetgroups with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-externalgroup description: Microsoft Graph Update externalGroup hints: readOnly: false destructive: false idempotent: true call: groups-external-externalconnection.externalconnectionsupdategroups with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-externalgroup description: Microsoft Graph Delete externalGroup hints: readOnly: false destructive: true idempotent: true call: groups-external-externalconnection.externalconnectionsdeletegroups with: If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-graph-get-members-external description: Microsoft Graph Get members from external hints: readOnly: true destructive: false idempotent: true call: groups-external-externalconnection.externalconnectionsgroupslistmembers with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-create-identity description: Microsoft Graph Create identity hints: readOnly: false destructive: false idempotent: false call: groups-external-externalconnection.externalconnectionsgroupscreatemembers with: body: tools.body 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: groups-external-externalconnection.externalconnectionsgroupsmembersgetcount482b outputParameters: - type: object mapping: $. - name: microsoft-graph-get-members-external-2 description: Microsoft Graph Get members from external hints: readOnly: true destructive: false idempotent: true call: groups-external-externalconnection.externalconnectionsgroupsgetmembers with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-navigation-property description: Microsoft Graph Update the navigation property members in external hints: readOnly: false destructive: false idempotent: true call: groups-external-externalconnection.externalconnectionsgroupsupdatemembers with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-identity description: Microsoft Graph Delete identity hints: readOnly: false destructive: true idempotent: true call: groups-external-externalconnection.externalconnectionsgroupsdeletemembers with: If-Match: tools.If-Match outputParameters: - type: object mapping: $.