naftiko: 1.0.0-alpha2 info: label: Microsoft Graph OData Service for namespace microsoft.graph — me.userActivity description: 'Microsoft Graph OData Service for namespace microsoft.graph — me.userActivity. 14 operations. Lead operation: Microsoft Graph Get user activities. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - me.userActivity 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: microsoft-graph-me-useractivity baseUri: https://graph.microsoft.com/v1.0 description: Microsoft Graph OData Service for namespace microsoft.graph — me.userActivity business capability. Self-contained, no shared references. resources: - name: me-activities path: /me/activities operations: - name: melistactivities method: GET description: Microsoft Graph Get user activities 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: mecreateactivities method: POST description: Microsoft Graph Create new navigation property to activities for me outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: me-activities-$count path: /me/activities/$count operations: - name: meactivitiesgetcount65ad method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: me-activities-recent() path: /me/activities/recent() operations: - name: meactivitiesrecent method: GET description: Microsoft Graph Invoke function recent outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $select in: query type: array description: Select properties to be returned - name: $orderby in: query type: array description: Order items by property values - name: $expand in: query type: array description: Expand related entities - name: me-activities-userActivity-id path: /me/activities/{userActivity-id} operations: - name: megetactivities method: GET description: Microsoft Graph Get activities from me 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: meupdateactivities method: PATCH description: Microsoft Graph Update the navigation property activities in me outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: medeleteactivities method: DELETE description: Microsoft Graph Delete an activity outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag - name: me-activities-userActivity-id-historyItems path: /me/activities/{userActivity-id}/historyItems operations: - name: meactivitieslisthistoryitems method: GET description: Microsoft Graph Get historyItems from me 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: meactivitiescreatehistoryitems method: POST description: Microsoft Graph Create new navigation property to historyItems for me outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: me-activities-userActivity-id-historyItems-$count path: /me/activities/{userActivity-id}/historyItems/$count operations: - name: meactivitieshistoryitemsgetcountb80d method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: me-activities-userActivity-id-historyItems-activityHistoryItem-id path: /me/activities/{userActivity-id}/historyItems/{activityHistoryItem-id} operations: - name: meactivitiesgethistoryitems method: GET description: Microsoft Graph Get historyItems from me 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: meactivitiesupdatehistoryitems method: PATCH description: Microsoft Graph Delete an activityHistoryItem outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: meactivitiesdeletehistoryitems method: DELETE description: Microsoft Graph Delete navigation property historyItems for me outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag - name: me-activities-userActivity-id-historyItems-activityHistoryItem-id-activity path: /me/activities/{userActivity-id}/historyItems/{activityHistoryItem-id}/activity operations: - name: meactivitieshistoryitemsgetactivity method: GET description: Microsoft Graph Get activity from me 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: microsoft-graph-me-useractivity-rest port: 8080 description: REST adapter for Microsoft Graph OData Service for namespace microsoft.graph — me.userActivity. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/me/activities name: me-activities description: REST surface for me-activities. operations: - method: GET name: melistactivities description: Microsoft Graph Get user activities call: microsoft-graph-me-useractivity.melistactivities with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: mecreateactivities description: Microsoft Graph Create new navigation property to activities for me call: microsoft-graph-me-useractivity.mecreateactivities with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/me/activities/count name: me-activities-count description: REST surface for me-activities-$count. operations: - method: GET name: meactivitiesgetcount65ad description: Microsoft Graph Get the number of the resource call: microsoft-graph-me-useractivity.meactivitiesgetcount65ad outputParameters: - type: object mapping: $. - path: /v1/me/activities/recent name: me-activities-recent description: REST surface for me-activities-recent(). operations: - method: GET name: meactivitiesrecent description: Microsoft Graph Invoke function recent call: microsoft-graph-me-useractivity.meactivitiesrecent with: $select: rest.$select $orderby: rest.$orderby $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/me/activities/{useractivity-id} name: me-activities-useractivity-id description: REST surface for me-activities-userActivity-id. operations: - method: GET name: megetactivities description: Microsoft Graph Get activities from me call: microsoft-graph-me-useractivity.megetactivities with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: meupdateactivities description: Microsoft Graph Update the navigation property activities in me call: microsoft-graph-me-useractivity.meupdateactivities with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: medeleteactivities description: Microsoft Graph Delete an activity call: microsoft-graph-me-useractivity.medeleteactivities with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/me/activities/{useractivity-id}/historyitems name: me-activities-useractivity-id-historyitems description: REST surface for me-activities-userActivity-id-historyItems. operations: - method: GET name: meactivitieslisthistoryitems description: Microsoft Graph Get historyItems from me call: microsoft-graph-me-useractivity.meactivitieslisthistoryitems with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: meactivitiescreatehistoryitems description: Microsoft Graph Create new navigation property to historyItems for me call: microsoft-graph-me-useractivity.meactivitiescreatehistoryitems with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/me/activities/{useractivity-id}/historyitems/count name: me-activities-useractivity-id-historyitems-count description: REST surface for me-activities-userActivity-id-historyItems-$count. operations: - method: GET name: meactivitieshistoryitemsgetcountb80d description: Microsoft Graph Get the number of the resource call: microsoft-graph-me-useractivity.meactivitieshistoryitemsgetcountb80d outputParameters: - type: object mapping: $. - path: /v1/me/activities/{useractivity-id}/historyitems/{activityhistoryitem-id} name: me-activities-useractivity-id-historyitems-activityhistoryitem-id description: REST surface for me-activities-userActivity-id-historyItems-activityHistoryItem-id. operations: - method: GET name: meactivitiesgethistoryitems description: Microsoft Graph Get historyItems from me call: microsoft-graph-me-useractivity.meactivitiesgethistoryitems with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: meactivitiesupdatehistoryitems description: Microsoft Graph Delete an activityHistoryItem call: microsoft-graph-me-useractivity.meactivitiesupdatehistoryitems with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: meactivitiesdeletehistoryitems description: Microsoft Graph Delete navigation property historyItems for me call: microsoft-graph-me-useractivity.meactivitiesdeletehistoryitems with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/me/activities/{useractivity-id}/historyitems/{activityhistoryitem-id}/activity name: me-activities-useractivity-id-historyitems-activityhistoryitem-id-activity description: REST surface for me-activities-userActivity-id-historyItems-activityHistoryItem-id-activity. operations: - method: GET name: meactivitieshistoryitemsgetactivity description: Microsoft Graph Get activity from me call: microsoft-graph-me-useractivity.meactivitieshistoryitemsgetactivity with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - type: mcp namespace: microsoft-graph-me-useractivity-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph OData Service for namespace microsoft.graph — me.userActivity. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-get-user-activities description: Microsoft Graph Get user activities hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-me-useractivity.melistactivities 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 activities for me hints: readOnly: false destructive: false idempotent: false call: microsoft-graph-me-useractivity.mecreateactivities 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: microsoft-graph-me-useractivity.meactivitiesgetcount65ad outputParameters: - type: object mapping: $. - name: microsoft-graph-invoke-function-recent description: Microsoft Graph Invoke function recent hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-me-useractivity.meactivitiesrecent with: $select: tools.$select $orderby: tools.$orderby $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-activities-me description: Microsoft Graph Get activities from me hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-me-useractivity.megetactivities with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-navigation-property description: Microsoft Graph Update the navigation property activities in me hints: readOnly: false destructive: false idempotent: true call: microsoft-graph-me-useractivity.meupdateactivities with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-activity description: Microsoft Graph Delete an activity hints: readOnly: false destructive: true idempotent: true call: microsoft-graph-me-useractivity.medeleteactivities with: If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-graph-get-historyitems-me description: Microsoft Graph Get historyItems from me hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-me-useractivity.meactivitieslisthistoryitems 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 historyItems for me hints: readOnly: false destructive: false idempotent: false call: microsoft-graph-me-useractivity.meactivitiescreatehistoryitems 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: microsoft-graph-me-useractivity.meactivitieshistoryitemsgetcountb80d outputParameters: - type: object mapping: $. - name: microsoft-graph-get-historyitems-me-2 description: Microsoft Graph Get historyItems from me hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-me-useractivity.meactivitiesgethistoryitems with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-activityhistoryitem description: Microsoft Graph Delete an activityHistoryItem hints: readOnly: false destructive: false idempotent: true call: microsoft-graph-me-useractivity.meactivitiesupdatehistoryitems with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-navigation-property description: Microsoft Graph Delete navigation property historyItems for me hints: readOnly: false destructive: true idempotent: true call: microsoft-graph-me-useractivity.meactivitiesdeletehistoryitems with: If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-graph-get-activity-me description: Microsoft Graph Get activity from me hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-me-useractivity.meactivitieshistoryitemsgetactivity with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $.