naftiko: 1.0.0-alpha2 info: label: Salesforce Streaming API — Streaming Channels description: 'Salesforce Streaming API — Streaming Channels. 6 operations. Lead operation: List Streaming Channels. Self-contained Naftiko capability covering one Salesforce Automation business surface.' tags: - Salesforce Automation - Streaming Channels created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SALESFORCE_AUTOMATION_API_KEY: SALESFORCE_AUTOMATION_API_KEY capability: consumes: - type: http namespace: salesforce-streaming-streaming-channels baseUri: https://{instance}.salesforce.com/services/data/v63.0 description: Salesforce Streaming API — Streaming Channels business capability. Self-contained, no shared references. resources: - name: sobjects-StreamingChannel path: /sobjects/StreamingChannel operations: - name: liststreamingchannels method: GET description: List Streaming Channels outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createstreamingchannel method: POST description: Create a Streaming Channel outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: sobjects-StreamingChannel-channelId path: /sobjects/StreamingChannel/{channelId} operations: - name: getstreamingchannel method: GET description: Get a Streaming Channel outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: channelId in: path type: string required: true - name: updatestreamingchannel method: PATCH description: Update a Streaming Channel outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: channelId in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deletestreamingchannel method: DELETE description: Delete a Streaming Channel outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: channelId in: path type: string required: true - name: sobjects-StreamingChannel-channelId-push path: /sobjects/StreamingChannel/{channelId}/push operations: - name: pushevent method: POST description: Push an event to a Streaming Channel outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: channelId in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.SALESFORCE_AUTOMATION_API_KEY}}' exposes: - type: rest namespace: salesforce-streaming-streaming-channels-rest port: 8080 description: REST adapter for Salesforce Streaming API — Streaming Channels. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/sobjects/streamingchannel name: sobjects-streamingchannel description: REST surface for sobjects-StreamingChannel. operations: - method: GET name: liststreamingchannels description: List Streaming Channels call: salesforce-streaming-streaming-channels.liststreamingchannels outputParameters: - type: object mapping: $. - method: POST name: createstreamingchannel description: Create a Streaming Channel call: salesforce-streaming-streaming-channels.createstreamingchannel with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/sobjects/streamingchannel/{channelid} name: sobjects-streamingchannel-channelid description: REST surface for sobjects-StreamingChannel-channelId. operations: - method: GET name: getstreamingchannel description: Get a Streaming Channel call: salesforce-streaming-streaming-channels.getstreamingchannel with: channelId: rest.channelId outputParameters: - type: object mapping: $. - method: PATCH name: updatestreamingchannel description: Update a Streaming Channel call: salesforce-streaming-streaming-channels.updatestreamingchannel with: channelId: rest.channelId body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletestreamingchannel description: Delete a Streaming Channel call: salesforce-streaming-streaming-channels.deletestreamingchannel with: channelId: rest.channelId outputParameters: - type: object mapping: $. - path: /v1/sobjects/streamingchannel/{channelid}/push name: sobjects-streamingchannel-channelid-push description: REST surface for sobjects-StreamingChannel-channelId-push. operations: - method: POST name: pushevent description: Push an event to a Streaming Channel call: salesforce-streaming-streaming-channels.pushevent with: channelId: rest.channelId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: salesforce-streaming-streaming-channels-mcp port: 9090 transport: http description: MCP adapter for Salesforce Streaming API — Streaming Channels. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-streaming-channels description: List Streaming Channels hints: readOnly: true destructive: false idempotent: true call: salesforce-streaming-streaming-channels.liststreamingchannels outputParameters: - type: object mapping: $. - name: create-streaming-channel description: Create a Streaming Channel hints: readOnly: false destructive: false idempotent: false call: salesforce-streaming-streaming-channels.createstreamingchannel with: body: tools.body outputParameters: - type: object mapping: $. - name: get-streaming-channel description: Get a Streaming Channel hints: readOnly: true destructive: false idempotent: true call: salesforce-streaming-streaming-channels.getstreamingchannel with: channelId: tools.channelId outputParameters: - type: object mapping: $. - name: update-streaming-channel description: Update a Streaming Channel hints: readOnly: false destructive: false idempotent: true call: salesforce-streaming-streaming-channels.updatestreamingchannel with: channelId: tools.channelId body: tools.body outputParameters: - type: object mapping: $. - name: delete-streaming-channel description: Delete a Streaming Channel hints: readOnly: false destructive: true idempotent: true call: salesforce-streaming-streaming-channels.deletestreamingchannel with: channelId: tools.channelId outputParameters: - type: object mapping: $. - name: push-event-streaming-channel description: Push an event to a Streaming Channel hints: readOnly: false destructive: false idempotent: false call: salesforce-streaming-streaming-channels.pushevent with: channelId: tools.channelId body: tools.body outputParameters: - type: object mapping: $.