Webex · Capability

Webex Cloud Calling — Partner Reports/Templates

Webex Cloud Calling — Partner Reports/Templates. 5 operations. Lead operation: List Reports. Self-contained Naftiko capability covering one Webex business surface.

Run with Naftiko WebexPartner Reports/Templates

What You Can Do

GET
Listreports — List Reports
/v1/partner/reports
POST
Createareport — Create a Report
/v1/partner/reports
GET
Listreporttemplates — List Report Templates
/v1/partner/reports/templates
GET
Getreportdetails — Get Report Details
/v1/partner/reports/{reportid}
DELETE
Deleteareport — Delete a Report
/v1/partner/reports/{reportid}

MCP Tools

list-reports

List Reports

read-only idempotent
create-report

Create a Report

list-report-templates

List Report Templates

read-only idempotent
get-report-details

Get Report Details

read-only idempotent
delete-report

Delete a Report

idempotent

Capability Spec

cloud-calling-partner-reports-templates.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Webex Cloud Calling — Partner Reports/Templates
  description: 'Webex Cloud Calling — Partner Reports/Templates. 5 operations. Lead operation: List Reports. Self-contained
    Naftiko capability covering one Webex business surface.'
  tags:
  - Webex
  - Partner Reports/Templates
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WEBEX_API_KEY: WEBEX_API_KEY
capability:
  consumes:
  - type: http
    namespace: cloud-calling-partner-reports-templates
    baseUri: ''
    description: Webex Cloud Calling — Partner Reports/Templates business capability. Self-contained, no shared references.
    resources:
    - name: partner-reports
      path: /partner/reports
      operations:
      - name: listreports
        method: GET
        description: List Reports
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: service
          in: query
          type: string
          description: List reports which use this service.
        - name: templateId
          in: query
          type: number
          description: List reports with this report template ID.
        - name: from
          in: query
          type: string
          description: List reports that were created on or after this date.
        - name: to
          in: query
          type: string
          description: List reports that were created before this date.
        - name: regionId
          in: query
          type: string
          description: Data in the report will be from organizations in this region, for example, US, CA, or EU.
        - name: onBehalfOfSubPartnerOrgId
          in: query
          type: string
          description: The encoded organization ID for the sub partner.
      - name: createareport
        method: POST
        description: Create a Report
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: onBehalfOfSubPartnerOrgId
          in: query
          type: string
          description: The encoded organization ID for the sub partner.
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: partner-reports-templates
      path: /partner/reports/templates
      operations:
      - name: listreporttemplates
        method: GET
        description: List Report Templates
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: onBehalfOfSubPartnerOrgId
          in: query
          type: string
          description: The encoded organization ID for the sub partner.
    - name: partner-reports-reportId
      path: /partner/reports/{reportId}
      operations:
      - name: getreportdetails
        method: GET
        description: Get Report Details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: reportId
          in: path
          type: string
          description: The unique identifier for the report.
          required: true
        - name: onBehalfOfSubPartnerOrgId
          in: query
          type: string
          description: The encoded organization ID for the sub partner.
      - name: deleteareport
        method: DELETE
        description: Delete a Report
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: reportId
          in: path
          type: string
          description: The unique identifier for the report.
          required: true
        - name: onBehalfOfSubPartnerOrgId
          in: query
          type: string
          description: The encoded organization ID for the sub partner.
    authentication:
      type: bearer
      token: '{{env.WEBEX_API_KEY}}'
  exposes:
  - type: rest
    namespace: cloud-calling-partner-reports-templates-rest
    port: 8080
    description: REST adapter for Webex Cloud Calling — Partner Reports/Templates. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/partner/reports
      name: partner-reports
      description: REST surface for partner-reports.
      operations:
      - method: GET
        name: listreports
        description: List Reports
        call: cloud-calling-partner-reports-templates.listreports
        with:
          service: rest.service
          templateId: rest.templateId
          from: rest.from
          to: rest.to
          regionId: rest.regionId
          onBehalfOfSubPartnerOrgId: rest.onBehalfOfSubPartnerOrgId
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createareport
        description: Create a Report
        call: cloud-calling-partner-reports-templates.createareport
        with:
          onBehalfOfSubPartnerOrgId: rest.onBehalfOfSubPartnerOrgId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/partner/reports/templates
      name: partner-reports-templates
      description: REST surface for partner-reports-templates.
      operations:
      - method: GET
        name: listreporttemplates
        description: List Report Templates
        call: cloud-calling-partner-reports-templates.listreporttemplates
        with:
          onBehalfOfSubPartnerOrgId: rest.onBehalfOfSubPartnerOrgId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/partner/reports/{reportid}
      name: partner-reports-reportid
      description: REST surface for partner-reports-reportId.
      operations:
      - method: GET
        name: getreportdetails
        description: Get Report Details
        call: cloud-calling-partner-reports-templates.getreportdetails
        with:
          reportId: rest.reportId
          onBehalfOfSubPartnerOrgId: rest.onBehalfOfSubPartnerOrgId
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteareport
        description: Delete a Report
        call: cloud-calling-partner-reports-templates.deleteareport
        with:
          reportId: rest.reportId
          onBehalfOfSubPartnerOrgId: rest.onBehalfOfSubPartnerOrgId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloud-calling-partner-reports-templates-mcp
    port: 9090
    transport: http
    description: MCP adapter for Webex Cloud Calling — Partner Reports/Templates. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: list-reports
      description: List Reports
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-calling-partner-reports-templates.listreports
      with:
        service: tools.service
        templateId: tools.templateId
        from: tools.from
        to: tools.to
        regionId: tools.regionId
        onBehalfOfSubPartnerOrgId: tools.onBehalfOfSubPartnerOrgId
      outputParameters:
      - type: object
        mapping: $.
    - name: create-report
      description: Create a Report
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloud-calling-partner-reports-templates.createareport
      with:
        onBehalfOfSubPartnerOrgId: tools.onBehalfOfSubPartnerOrgId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-report-templates
      description: List Report Templates
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-calling-partner-reports-templates.listreporttemplates
      with:
        onBehalfOfSubPartnerOrgId: tools.onBehalfOfSubPartnerOrgId
      outputParameters:
      - type: object
        mapping: $.
    - name: get-report-details
      description: Get Report Details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-calling-partner-reports-templates.getreportdetails
      with:
        reportId: tools.reportId
        onBehalfOfSubPartnerOrgId: tools.onBehalfOfSubPartnerOrgId
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-report
      description: Delete a Report
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: cloud-calling-partner-reports-templates.deleteareport
      with:
        reportId: tools.reportId
        onBehalfOfSubPartnerOrgId: tools.onBehalfOfSubPartnerOrgId
      outputParameters:
      - type: object
        mapping: $.