Webex · Capability

Webex Messaging — Attachment Actions

Webex Messaging — Attachment Actions. 2 operations. Lead operation: Create an Attachment Action. Self-contained Naftiko capability covering one Webex business surface.

Run with Naftiko WebexAttachment Actions

What You Can Do

POST
Createanattachmentaction — Create an Attachment Action
/v1/attachment/actions
GET
Getattachmentactiondetails — Get Attachment Action Details
/v1/attachment/actions/{id}

MCP Tools

create-attachment-action

Create an Attachment Action

get-attachment-action-details

Get Attachment Action Details

read-only idempotent

Capability Spec

messaging-attachment-actions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Webex Messaging — Attachment Actions
  description: 'Webex Messaging — Attachment Actions. 2 operations. Lead operation: Create an Attachment Action. Self-contained
    Naftiko capability covering one Webex business surface.'
  tags:
  - Webex
  - Attachment Actions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WEBEX_API_KEY: WEBEX_API_KEY
capability:
  consumes:
  - type: http
    namespace: messaging-attachment-actions
    baseUri: ''
    description: Webex Messaging — Attachment Actions business capability. Self-contained, no shared references.
    resources:
    - name: attachment-actions
      path: /attachment/actions
      operations:
      - name: createanattachmentaction
        method: POST
        description: Create an Attachment Action
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: attachment-actions-id
      path: /attachment/actions/{id}
      operations:
      - name: getattachmentactiondetails
        method: GET
        description: Get Attachment Action Details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A unique identifier for the attachment action.
          required: true
    authentication:
      type: bearer
      token: '{{env.WEBEX_API_KEY}}'
  exposes:
  - type: rest
    namespace: messaging-attachment-actions-rest
    port: 8080
    description: REST adapter for Webex Messaging — Attachment Actions. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/attachment/actions
      name: attachment-actions
      description: REST surface for attachment-actions.
      operations:
      - method: POST
        name: createanattachmentaction
        description: Create an Attachment Action
        call: messaging-attachment-actions.createanattachmentaction
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/attachment/actions/{id}
      name: attachment-actions-id
      description: REST surface for attachment-actions-id.
      operations:
      - method: GET
        name: getattachmentactiondetails
        description: Get Attachment Action Details
        call: messaging-attachment-actions.getattachmentactiondetails
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: messaging-attachment-actions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Webex Messaging — Attachment Actions. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: create-attachment-action
      description: Create an Attachment Action
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: messaging-attachment-actions.createanattachmentaction
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-attachment-action-details
      description: Get Attachment Action Details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: messaging-attachment-actions.getattachmentactiondetails
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.