naftiko: 1.0.0-alpha2 info: label: Microsoft Graph Connections — connections.externalItem description: 'Microsoft Graph Connections — connections.externalItem. 14 operations. Lead operation: Microsoft Graph Get items from connections. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - connections.externalItem 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: connections-connections-externalitem baseUri: '' description: Microsoft Graph Connections — connections.externalItem business capability. Self-contained, no shared references. resources: - name: connections-externalConnection-id-items path: /connections/{externalConnection-id}/items operations: - name: connectionslistitems method: GET description: Microsoft Graph Get items from connections 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: connectionscreateitems method: POST description: Microsoft Graph Create new navigation property to items for connections outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: connections-externalConnection-id-items-$count path: /connections/{externalConnection-id}/items/$count operations: - name: connectionsitemsgetcounteebb method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: connections-externalConnection-id-items-externalItem-id path: /connections/{externalConnection-id}/items/{externalItem-id} operations: - name: connectionsgetitems method: GET description: Microsoft Graph Get items from connections 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: connectionssetitems method: PUT description: Microsoft Graph Update the navigation property items in connections outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: connectionsdeleteitems method: DELETE description: Microsoft Graph Delete navigation property items for connections outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag - name: connections-externalConnection-id-items-externalItem-id-activities path: /connections/{externalConnection-id}/items/{externalItem-id}/activities operations: - name: connectionsitemslistactivities method: GET description: Microsoft Graph Get activities from connections 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: connectionsitemscreateactivities method: POST description: Microsoft Graph Create new navigation property to activities for connections outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: connections-externalConnection-id-items-externalItem-id-activities-$count path: /connections/{externalConnection-id}/items/{externalItem-id}/activities/$count operations: - name: connectionsitemsactivitiesgetcount5552 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: connections-externalConnection-id-items-externalItem-id-activities-externalActiv path: /connections/{externalConnection-id}/items/{externalItem-id}/activities/{externalActivity-id} operations: - name: connectionsitemsgetactivities method: GET description: Microsoft Graph Get activities from connections 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: connectionsitemsupdateactivities method: PATCH description: Microsoft Graph Update the navigation property activities in connections outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: connectionsitemsdeleteactivities method: DELETE description: Microsoft Graph Delete navigation property activities for connections outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag - name: connections-externalConnection-id-items-externalItem-id-activities-externalActiv path: /connections/{externalConnection-id}/items/{externalItem-id}/activities/{externalActivity-id}/performedBy operations: - name: connectionsitemsactivitiesgetperformedby method: GET description: Microsoft Graph Get performedBy from connections 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: connections-externalConnection-id-items-externalItem-id-microsoft.graph.external path: /connections/{externalConnection-id}/items/{externalItem-id}/microsoft.graph.externalConnectors.addActivities operations: - name: connectionsexternalconnectionitemsexternalitemaddactivities method: POST description: Microsoft Graph Invoke action addActivities outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: connections-connections-externalitem-rest port: 8080 description: REST adapter for Microsoft Graph Connections — connections.externalItem. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/connections/{externalconnection-id}/items name: connections-externalconnection-id-items description: REST surface for connections-externalConnection-id-items. operations: - method: GET name: connectionslistitems description: Microsoft Graph Get items from connections call: connections-connections-externalitem.connectionslistitems with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: connectionscreateitems description: Microsoft Graph Create new navigation property to items for connections call: connections-connections-externalitem.connectionscreateitems with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/connections/{externalconnection-id}/items/count name: connections-externalconnection-id-items-count description: REST surface for connections-externalConnection-id-items-$count. operations: - method: GET name: connectionsitemsgetcounteebb description: Microsoft Graph Get the number of the resource call: connections-connections-externalitem.connectionsitemsgetcounteebb outputParameters: - type: object mapping: $. - path: /v1/connections/{externalconnection-id}/items/{externalitem-id} name: connections-externalconnection-id-items-externalitem-id description: REST surface for connections-externalConnection-id-items-externalItem-id. operations: - method: GET name: connectionsgetitems description: Microsoft Graph Get items from connections call: connections-connections-externalitem.connectionsgetitems with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PUT name: connectionssetitems description: Microsoft Graph Update the navigation property items in connections call: connections-connections-externalitem.connectionssetitems with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: connectionsdeleteitems description: Microsoft Graph Delete navigation property items for connections call: connections-connections-externalitem.connectionsdeleteitems with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/connections/{externalconnection-id}/items/{externalitem-id}/activities name: connections-externalconnection-id-items-externalitem-id-activities description: REST surface for connections-externalConnection-id-items-externalItem-id-activities. operations: - method: GET name: connectionsitemslistactivities description: Microsoft Graph Get activities from connections call: connections-connections-externalitem.connectionsitemslistactivities with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: connectionsitemscreateactivities description: Microsoft Graph Create new navigation property to activities for connections call: connections-connections-externalitem.connectionsitemscreateactivities with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/connections/{externalconnection-id}/items/{externalitem-id}/activities/count name: connections-externalconnection-id-items-externalitem-id-activities-count description: REST surface for connections-externalConnection-id-items-externalItem-id-activities-$count. operations: - method: GET name: connectionsitemsactivitiesgetcount5552 description: Microsoft Graph Get the number of the resource call: connections-connections-externalitem.connectionsitemsactivitiesgetcount5552 outputParameters: - type: object mapping: $. - path: /v1/connections/{externalconnection-id}/items/{externalitem-id}/activities/{externalactivity-id} name: connections-externalconnection-id-items-externalitem-id-activities-externalactiv description: REST surface for connections-externalConnection-id-items-externalItem-id-activities-externalActiv. operations: - method: GET name: connectionsitemsgetactivities description: Microsoft Graph Get activities from connections call: connections-connections-externalitem.connectionsitemsgetactivities with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: connectionsitemsupdateactivities description: Microsoft Graph Update the navigation property activities in connections call: connections-connections-externalitem.connectionsitemsupdateactivities with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: connectionsitemsdeleteactivities description: Microsoft Graph Delete navigation property activities for connections call: connections-connections-externalitem.connectionsitemsdeleteactivities with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/connections/{externalconnection-id}/items/{externalitem-id}/activities/{externalactivity-id}/performedby name: connections-externalconnection-id-items-externalitem-id-activities-externalactiv description: REST surface for connections-externalConnection-id-items-externalItem-id-activities-externalActiv. operations: - method: GET name: connectionsitemsactivitiesgetperformedby description: Microsoft Graph Get performedBy from connections call: connections-connections-externalitem.connectionsitemsactivitiesgetperformedby with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/connections/{externalconnection-id}/items/{externalitem-id}/microsoft-graph-externalconnectors-addactivities name: connections-externalconnection-id-items-externalitem-id-microsoft-graph-external description: REST surface for connections-externalConnection-id-items-externalItem-id-microsoft.graph.external. operations: - method: POST name: connectionsexternalconnectionitemsexternalitemaddactivities description: Microsoft Graph Invoke action addActivities call: connections-connections-externalitem.connectionsexternalconnectionitemsexternalitemaddactivities with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: connections-connections-externalitem-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph Connections — connections.externalItem. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-get-items-connections description: Microsoft Graph Get items from connections hints: readOnly: true destructive: false idempotent: true call: connections-connections-externalitem.connectionslistitems with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-create-new-navigation description: Microsoft Graph Create new navigation property to items for connections hints: readOnly: false destructive: false idempotent: false call: connections-connections-externalitem.connectionscreateitems 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: connections-connections-externalitem.connectionsitemsgetcounteebb outputParameters: - type: object mapping: $. - name: microsoft-graph-get-items-connections-2 description: Microsoft Graph Get items from connections hints: readOnly: true destructive: false idempotent: true call: connections-connections-externalitem.connectionsgetitems with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-navigation-property description: Microsoft Graph Update the navigation property items in connections hints: readOnly: false destructive: false idempotent: true call: connections-connections-externalitem.connectionssetitems with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-navigation-property description: Microsoft Graph Delete navigation property items for connections hints: readOnly: false destructive: true idempotent: true call: connections-connections-externalitem.connectionsdeleteitems with: If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-graph-get-activities-connections description: Microsoft Graph Get activities from connections hints: readOnly: true destructive: false idempotent: true call: connections-connections-externalitem.connectionsitemslistactivities with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-create-new-navigation-2 description: Microsoft Graph Create new navigation property to activities for connections hints: readOnly: false destructive: false idempotent: false call: connections-connections-externalitem.connectionsitemscreateactivities 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: connections-connections-externalitem.connectionsitemsactivitiesgetcount5552 outputParameters: - type: object mapping: $. - name: microsoft-graph-get-activities-connections-2 description: Microsoft Graph Get activities from connections hints: readOnly: true destructive: false idempotent: true call: connections-connections-externalitem.connectionsitemsgetactivities with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-navigation-property-2 description: Microsoft Graph Update the navigation property activities in connections hints: readOnly: false destructive: false idempotent: true call: connections-connections-externalitem.connectionsitemsupdateactivities with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-navigation-property-2 description: Microsoft Graph Delete navigation property activities for connections hints: readOnly: false destructive: true idempotent: true call: connections-connections-externalitem.connectionsitemsdeleteactivities with: If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-graph-get-performedby-connections description: Microsoft Graph Get performedBy from connections hints: readOnly: true destructive: false idempotent: true call: connections-connections-externalitem.connectionsitemsactivitiesgetperformedby with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-invoke-action-addactivities description: Microsoft Graph Invoke action addActivities hints: readOnly: false destructive: false idempotent: false call: connections-connections-externalitem.connectionsexternalconnectionitemsexternalitemaddactivities with: body: tools.body outputParameters: - type: object mapping: $.