Microsoft Graph · Capability

Microsoft Graph Sites — sites.site.Functions

Microsoft Graph Sites — sites.site.Functions. 9 operations. Lead operation: Microsoft Graph Invoke function delta. Self-contained Naftiko capability covering one Microsoft Graph business surface.

Run with Naftiko Microsoft Graphsites.site.Functions

What You Can Do

GET
Sitesdelta — Microsoft Graph Invoke function delta
/v1/sites/delta
GET
Sitesgetallsites — Microsoft Graph Invoke function getAllSites
/v1/sites/getallsites
GET
Sitessitegetactivitiesbyinterval4c35 — Microsoft Graph Invoke function getActivitiesByInterval
/v1/sites/{site-id}/getactivitiesbyinterval
GET
Sitessitegetactivitiesbyintervalad27 — Microsoft Graph Invoke function getActivitiesByInterval
/v1/sites/{site-id}/getactivitiesbyinterval-startdatetime-startdatetime-enddatetime-enddatetime-interval-interval
GET
Sitessitegetapplicablecontenttypesforlist — Microsoft Graph Invoke function getApplicableContentTypesForList
/v1/sites/{site-id}/getapplicablecontenttypesforlist-listid-listid
GET
Sitessitegetbypath — Microsoft Graph Invoke function getByPath
/v1/sites/{site-id}/getbypath-path-path
GET
Sitessitegetbypathgetactivitiesbyinterval4c35 — Microsoft Graph Invoke function getActivitiesByInterval
/v1/sites/{site-id}/getbypath-path-path/getactivitiesbyinterval
GET
Sitessitegetbypathgetactivitiesbyintervalad27 — Microsoft Graph Invoke function getActivitiesByInterval
/v1/sites/{site-id}/getbypath-path-path/getactivitiesbyinterval-startdatetime-startdatetime-enddatetime-enddatetime-interval-interval
GET
Sitessitegetbypathgetapplicablecontenttypesforlist — Microsoft Graph Invoke function getApplicableContentTypesForList
/v1/sites/{site-id}/getbypath-path-path/getapplicablecontenttypesforlist-listid-listid

MCP Tools

microsoft-graph-invoke-function-delta

Microsoft Graph Invoke function delta

read-only idempotent
microsoft-graph-invoke-function-getallsites

Microsoft Graph Invoke function getAllSites

read-only idempotent
microsoft-graph-invoke-function-getactivitiesbyinterval

Microsoft Graph Invoke function getActivitiesByInterval

read-only idempotent
microsoft-graph-invoke-function-getactivitiesbyinterval-2

Microsoft Graph Invoke function getActivitiesByInterval

read-only idempotent
microsoft-graph-invoke-function-getapplicablecontenttypesforlist

Microsoft Graph Invoke function getApplicableContentTypesForList

read-only idempotent
microsoft-graph-invoke-function-getbypath

Microsoft Graph Invoke function getByPath

read-only idempotent
microsoft-graph-invoke-function-getactivitiesbyinterval-3

Microsoft Graph Invoke function getActivitiesByInterval

read-only idempotent
microsoft-graph-invoke-function-getactivitiesbyinterval-4

Microsoft Graph Invoke function getActivitiesByInterval

read-only idempotent
microsoft-graph-invoke-function-getapplicablecontenttypesforlist-2

Microsoft Graph Invoke function getApplicableContentTypesForList

read-only idempotent

Capability Spec

sites-sites-site-functions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph Sites — sites.site.Functions
  description: 'Microsoft Graph Sites — sites.site.Functions. 9 operations. Lead operation: Microsoft Graph Invoke function
    delta. Self-contained Naftiko capability covering one Microsoft Graph business surface.'
  tags:
  - Microsoft Graph
  - sites.site.Functions
  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: sites-sites-site-functions
    baseUri: ''
    description: Microsoft Graph Sites — sites.site.Functions business capability. Self-contained, no shared references.
    resources:
    - name: sites-delta()
      path: /sites/delta()
      operations:
      - name: sitesdelta
        method: GET
        description: Microsoft Graph Invoke function delta
        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: sites-getAllSites()
      path: /sites/getAllSites()
      operations:
      - name: sitesgetallsites
        method: GET
        description: Microsoft Graph Invoke function getAllSites
        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: sites-site-id-getActivitiesByInterval()
      path: /sites/{site-id}/getActivitiesByInterval()
      operations:
      - name: sitessitegetactivitiesbyinterval4c35
        method: GET
        description: Microsoft Graph Invoke function getActivitiesByInterval
        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: sites-site-id-getActivitiesByInterval(startDateTime='{startDateTime}',endDateTim
      path: /sites/{site-id}/getActivitiesByInterval(startDateTime='{startDateTime}',endDateTime='{endDateTime}',interval='{interval}')
      operations:
      - name: sitessitegetactivitiesbyintervalad27
        method: GET
        description: Microsoft Graph Invoke function getActivitiesByInterval
        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: sites-site-id-getApplicableContentTypesForList(listId='{listId}')
      path: /sites/{site-id}/getApplicableContentTypesForList(listId='{listId}')
      operations:
      - name: sitessitegetapplicablecontenttypesforlist
        method: GET
        description: Microsoft Graph Invoke function getApplicableContentTypesForList
        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: sites-site-id-getByPath(path='{path}')
      path: /sites/{site-id}/getByPath(path='{path}')
      operations:
      - name: sitessitegetbypath
        method: GET
        description: Microsoft Graph Invoke function getByPath
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: sites-site-id-getByPath(path='{path}')-getActivitiesByInterval()
      path: /sites/{site-id}/getByPath(path='{path}')/getActivitiesByInterval()
      operations:
      - name: sitessitegetbypathgetactivitiesbyinterval4c35
        method: GET
        description: Microsoft Graph Invoke function getActivitiesByInterval
        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: sites-site-id-getByPath(path='{path}')-getActivitiesByInterval(startDateTime='{s
      path: /sites/{site-id}/getByPath(path='{path}')/getActivitiesByInterval(startDateTime='{startDateTime}',endDateTime='{endDateTime}',interval='{interval}')
      operations:
      - name: sitessitegetbypathgetactivitiesbyintervalad27
        method: GET
        description: Microsoft Graph Invoke function getActivitiesByInterval
        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: sites-site-id-getByPath(path='{path}')-getApplicableContentTypesForList(listId='
      path: /sites/{site-id}/getByPath(path='{path}')/getApplicableContentTypesForList(listId='{listId}')
      operations:
      - name: sitessitegetbypathgetapplicablecontenttypesforlist
        method: GET
        description: Microsoft Graph Invoke function getApplicableContentTypesForList
        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
  exposes:
  - type: rest
    namespace: sites-sites-site-functions-rest
    port: 8080
    description: REST adapter for Microsoft Graph Sites — sites.site.Functions. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/sites/delta
      name: sites-delta
      description: REST surface for sites-delta().
      operations:
      - method: GET
        name: sitesdelta
        description: Microsoft Graph Invoke function delta
        call: sites-sites-site-functions.sitesdelta
        with:
          $select: rest.$select
          $orderby: rest.$orderby
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/getallsites
      name: sites-getallsites
      description: REST surface for sites-getAllSites().
      operations:
      - method: GET
        name: sitesgetallsites
        description: Microsoft Graph Invoke function getAllSites
        call: sites-sites-site-functions.sitesgetallsites
        with:
          $select: rest.$select
          $orderby: rest.$orderby
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/getactivitiesbyinterval
      name: sites-site-id-getactivitiesbyinterval
      description: REST surface for sites-site-id-getActivitiesByInterval().
      operations:
      - method: GET
        name: sitessitegetactivitiesbyinterval4c35
        description: Microsoft Graph Invoke function getActivitiesByInterval
        call: sites-sites-site-functions.sitessitegetactivitiesbyinterval4c35
        with:
          $select: rest.$select
          $orderby: rest.$orderby
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/getactivitiesbyinterval-startdatetime-startdatetime-enddatetime-enddatetime-interval-interval
      name: sites-site-id-getactivitiesbyinterval-startdatetime-startdatetime-enddatetim
      description: REST surface for sites-site-id-getActivitiesByInterval(startDateTime='{startDateTime}',endDateTim.
      operations:
      - method: GET
        name: sitessitegetactivitiesbyintervalad27
        description: Microsoft Graph Invoke function getActivitiesByInterval
        call: sites-sites-site-functions.sitessitegetactivitiesbyintervalad27
        with:
          $select: rest.$select
          $orderby: rest.$orderby
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/getapplicablecontenttypesforlist-listid-listid
      name: sites-site-id-getapplicablecontenttypesforlist-listid-listid
      description: REST surface for sites-site-id-getApplicableContentTypesForList(listId='{listId}').
      operations:
      - method: GET
        name: sitessitegetapplicablecontenttypesforlist
        description: Microsoft Graph Invoke function getApplicableContentTypesForList
        call: sites-sites-site-functions.sitessitegetapplicablecontenttypesforlist
        with:
          $select: rest.$select
          $orderby: rest.$orderby
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/getbypath-path-path
      name: sites-site-id-getbypath-path-path
      description: REST surface for sites-site-id-getByPath(path='{path}').
      operations:
      - method: GET
        name: sitessitegetbypath
        description: Microsoft Graph Invoke function getByPath
        call: sites-sites-site-functions.sitessitegetbypath
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/getbypath-path-path/getactivitiesbyinterval
      name: sites-site-id-getbypath-path-path-getactivitiesbyinterval
      description: REST surface for sites-site-id-getByPath(path='{path}')-getActivitiesByInterval().
      operations:
      - method: GET
        name: sitessitegetbypathgetactivitiesbyinterval4c35
        description: Microsoft Graph Invoke function getActivitiesByInterval
        call: sites-sites-site-functions.sitessitegetbypathgetactivitiesbyinterval4c35
        with:
          $select: rest.$select
          $orderby: rest.$orderby
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/getbypath-path-path/getactivitiesbyinterval-startdatetime-startdatetime-enddatetime-enddatetime-interval-interval
      name: sites-site-id-getbypath-path-path-getactivitiesbyinterval-startdatetime-s
      description: REST surface for sites-site-id-getByPath(path='{path}')-getActivitiesByInterval(startDateTime='{s.
      operations:
      - method: GET
        name: sitessitegetbypathgetactivitiesbyintervalad27
        description: Microsoft Graph Invoke function getActivitiesByInterval
        call: sites-sites-site-functions.sitessitegetbypathgetactivitiesbyintervalad27
        with:
          $select: rest.$select
          $orderby: rest.$orderby
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/getbypath-path-path/getapplicablecontenttypesforlist-listid-listid
      name: sites-site-id-getbypath-path-path-getapplicablecontenttypesforlist-listid
      description: REST surface for sites-site-id-getByPath(path='{path}')-getApplicableContentTypesForList(listId='.
      operations:
      - method: GET
        name: sitessitegetbypathgetapplicablecontenttypesforlist
        description: Microsoft Graph Invoke function getApplicableContentTypesForList
        call: sites-sites-site-functions.sitessitegetbypathgetapplicablecontenttypesforlist
        with:
          $select: rest.$select
          $orderby: rest.$orderby
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: sites-sites-site-functions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Graph Sites — sites.site.Functions. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: microsoft-graph-invoke-function-delta
      description: Microsoft Graph Invoke function delta
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sites-sites-site-functions.sitesdelta
      with:
        $select: tools.$select
        $orderby: tools.$orderby
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-invoke-function-getallsites
      description: Microsoft Graph Invoke function getAllSites
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sites-sites-site-functions.sitesgetallsites
      with:
        $select: tools.$select
        $orderby: tools.$orderby
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-invoke-function-getactivitiesbyinterval
      description: Microsoft Graph Invoke function getActivitiesByInterval
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sites-sites-site-functions.sitessitegetactivitiesbyinterval4c35
      with:
        $select: tools.$select
        $orderby: tools.$orderby
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-invoke-function-getactivitiesbyinterval-2
      description: Microsoft Graph Invoke function getActivitiesByInterval
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sites-sites-site-functions.sitessitegetactivitiesbyintervalad27
      with:
        $select: tools.$select
        $orderby: tools.$orderby
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-invoke-function-getapplicablecontenttypesforlist
      description: Microsoft Graph Invoke function getApplicableContentTypesForList
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sites-sites-site-functions.sitessitegetapplicablecontenttypesforlist
      with:
        $select: tools.$select
        $orderby: tools.$orderby
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-invoke-function-getbypath
      description: Microsoft Graph Invoke function getByPath
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sites-sites-site-functions.sitessitegetbypath
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-invoke-function-getactivitiesbyinterval-3
      description: Microsoft Graph Invoke function getActivitiesByInterval
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sites-sites-site-functions.sitessitegetbypathgetactivitiesbyinterval4c35
      with:
        $select: tools.$select
        $orderby: tools.$orderby
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-invoke-function-getactivitiesbyinterval-4
      description: Microsoft Graph Invoke function getActivitiesByInterval
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sites-sites-site-functions.sitessitegetbypathgetactivitiesbyintervalad27
      with:
        $select: tools.$select
        $orderby: tools.$orderby
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-invoke-function-getapplicablecontenttypesforlist-2
      description: Microsoft Graph Invoke function getApplicableContentTypesForList
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sites-sites-site-functions.sitessitegetbypathgetapplicablecontenttypesforlist
      with:
        $select: tools.$select
        $orderby: tools.$orderby
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.