Microsoft Bot Framework · Capability

Microsoft Bot Framework Connector REST API — Activities

Microsoft Bot Framework Connector REST API — Activities. 5 operations. Lead operation: Send To Conversation. Self-contained Naftiko capability covering one Microsoft Bot Framework business surface.

Run with Naftiko Microsoft Bot FrameworkActivities

What You Can Do

POST
Sendtoconversation — Send To Conversation
/v1/v3/conversations/{conversationid}/activities
POST
Sendconversationhistory — Send Conversation History
/v1/v3/conversations/{conversationid}/activities/history
POST
Replytoactivity — Reply To Activity
/v1/v3/conversations/{conversationid}/activities/{activityid}
PUT
Updateactivity — Update Activity
/v1/v3/conversations/{conversationid}/activities/{activityid}
DELETE
Deleteactivity — Delete Activity
/v1/v3/conversations/{conversationid}/activities/{activityid}

MCP Tools

send-conversation

Send To Conversation

send-conversation-history

Send Conversation History

reply-activity

Reply To Activity

update-activity

Update Activity

idempotent
delete-activity

Delete Activity

idempotent

Capability Spec

microsoft-bot-framework-activities.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Bot Framework Connector REST API — Activities
  description: 'Microsoft Bot Framework Connector REST API — Activities. 5 operations. Lead operation: Send To Conversation.
    Self-contained Naftiko capability covering one Microsoft Bot Framework business surface.'
  tags:
  - Microsoft Bot Framework
  - Activities
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_BOT_FRAMEWORK_API_KEY: MICROSOFT_BOT_FRAMEWORK_API_KEY
capability:
  consumes:
  - type: http
    namespace: microsoft-bot-framework-activities
    baseUri: https://api.botframework.com
    description: Microsoft Bot Framework Connector REST API — Activities business capability. Self-contained, no shared references.
    resources:
    - name: v3-conversations-conversationId-activities
      path: /v3/conversations/{conversationId}/activities
      operations:
      - name: sendtoconversation
        method: POST
        description: Send To Conversation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v3-conversations-conversationId-activities-history
      path: /v3/conversations/{conversationId}/activities/history
      operations:
      - name: sendconversationhistory
        method: POST
        description: Send Conversation History
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v3-conversations-conversationId-activities-activityId
      path: /v3/conversations/{conversationId}/activities/{activityId}
      operations:
      - name: replytoactivity
        method: POST
        description: Reply To Activity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: updateactivity
        method: PUT
        description: Update Activity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteactivity
        method: DELETE
        description: Delete Activity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_BOT_FRAMEWORK_API_KEY}}'
  exposes:
  - type: rest
    namespace: microsoft-bot-framework-activities-rest
    port: 8080
    description: REST adapter for Microsoft Bot Framework Connector REST API — Activities. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/v3/conversations/{conversationid}/activities
      name: v3-conversations-conversationid-activities
      description: REST surface for v3-conversations-conversationId-activities.
      operations:
      - method: POST
        name: sendtoconversation
        description: Send To Conversation
        call: microsoft-bot-framework-activities.sendtoconversation
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v3/conversations/{conversationid}/activities/history
      name: v3-conversations-conversationid-activities-history
      description: REST surface for v3-conversations-conversationId-activities-history.
      operations:
      - method: POST
        name: sendconversationhistory
        description: Send Conversation History
        call: microsoft-bot-framework-activities.sendconversationhistory
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v3/conversations/{conversationid}/activities/{activityid}
      name: v3-conversations-conversationid-activities-activityid
      description: REST surface for v3-conversations-conversationId-activities-activityId.
      operations:
      - method: POST
        name: replytoactivity
        description: Reply To Activity
        call: microsoft-bot-framework-activities.replytoactivity
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateactivity
        description: Update Activity
        call: microsoft-bot-framework-activities.updateactivity
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteactivity
        description: Delete Activity
        call: microsoft-bot-framework-activities.deleteactivity
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: microsoft-bot-framework-activities-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Bot Framework Connector REST API — Activities. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: send-conversation
      description: Send To Conversation
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: microsoft-bot-framework-activities.sendtoconversation
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: send-conversation-history
      description: Send Conversation History
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: microsoft-bot-framework-activities.sendconversationhistory
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: reply-activity
      description: Reply To Activity
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: microsoft-bot-framework-activities.replytoactivity
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: update-activity
      description: Update Activity
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: microsoft-bot-framework-activities.updateactivity
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-activity
      description: Delete Activity
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: microsoft-bot-framework-activities.deleteactivity
      outputParameters:
      - type: object
        mapping: $.