naftiko: 1.0.0-alpha2 info: label: Salesforce — Events description: 'Salesforce — Events. 21 operations. Lead operation: Salesforce Publish Multiple Events With Soap Call. Self-contained Naftiko capability covering one Salesforce business surface.' tags: - Salesforce - Events created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SALESFORCE_API_KEY: SALESFORCE_API_KEY capability: consumes: - type: http namespace: salesforce-events baseUri: https://login.salesforce.com description: Salesforce — Events business capability. Self-contained, no shared references. resources: - name: Soap-u-64.0 path: /Soap/u/64.0 operations: - name: publishmultipleeventswithsoapcall method: POST description: Salesforce Publish Multiple Events With Soap Call outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Content-Type in: header type: string required: true - name: charset in: header type: string required: true - name: SOAPAction in: header type: string required: true - name: Accept in: header type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: data-v64.0-event-eventSchema-SCHEMA_ID path: /data/v64.0/event/eventSchema/{SCHEMA_ID} operations: - name: platformeventschemabyschemaid method: GET description: Salesforce Platform Event Schema by Schema Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: SCHEMA_ID in: path type: string required: true - name: Content-Type in: header type: string required: true - name: data-v64.0-query path: /data/v64.0/query operations: - name: listeventrelayfeedbackitems method: GET description: Salesforce List Event Relay Feedback Items outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: q in: query type: string required: true - name: data-v64.0-sobjects-EventLogFile-id-LogFile path: /data/v64.0/sobjects/EventLogFile/{id}/LogFile operations: - name: geteventlogfile method: GET description: Salesforce Get Event Log File outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Log event Id required: true - name: data-v64.0-sobjects-EventRelayFeedback-describe path: /data/v64.0/sobjects/EventRelayFeedback/describe operations: - name: describeeventfelayfeedback method: GET description: Salesforce Describe Event Felay Feedback outputRawFormat: json outputParameters: - name: result type: object value: $. - name: data-v64.0-sobjects-EventRelayFeedback-EVENT_RELAY_FEEDBACK_ID path: /data/v64.0/sobjects/EventRelayFeedback/{EVENT_RELAY_FEEDBACK_ID} operations: - name: geteventrelayfeedback method: GET description: Salesforce Get Event Relay Feedback outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: EVENT_RELAY_FEEDBACK_ID in: path type: string required: true - name: data-v64.0-sobjects-EVENT_NAME-eventSchema path: /data/v64.0/sobjects/{EVENT_NAME}/eventSchema operations: - name: platformeventschemabyeventname method: GET description: Salesforce Platform Event Schema by Event Name outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: EVENT_NAME in: path type: string description: API Name of the event required: true - name: Content-Type in: header type: string required: true - name: data-v64.0-sobjects-EventApiName path: /data/v64.0/sobjects/{EventApiName} operations: - name: publishsingleevent method: POST description: Salesforce Publish Single Event outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: EventApiName in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: data-v64.0-tooling-sobjects-EventRelayConfig path: /data/v64.0/tooling/sobjects/EventRelayConfig operations: - name: createeventrelay method: POST description: Salesforce Create Event Relay outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: data-v64.0-tooling-sobjects-EventRelayConfig-describe path: /data/v64.0/tooling/sobjects/EventRelayConfig/describe operations: - name: describeeventrelay method: GET description: Salesforce Describe Event Relay outputRawFormat: json outputParameters: - name: result type: object value: $. - name: data-v64.0-tooling-sobjects-EventRelayConfig-EVENT_RELAY_CONFIG_ID path: /data/v64.0/tooling/sobjects/EventRelayConfig/{EVENT_RELAY_CONFIG_ID} operations: - name: deleteeventrelay method: DELETE description: Salesforce Delete Event Relay outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: EVENT_RELAY_CONFIG_ID in: path type: string required: true - name: geteventrelay method: GET description: Salesforce Get Event Relay outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: EVENT_RELAY_CONFIG_ID in: path type: string required: true - name: changeeventrelaystate method: PATCH description: Salesforce Change Event Relay State outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: EVENT_RELAY_CONFIG_ID in: path type: string required: true - name: SOAPAction in: header type: string required: true - name: Authorization in: header type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: data-v64.0-tooling-sobjects-ManagedEventSubscription path: /data/v64.0/tooling/sobjects/ManagedEventSubscription operations: - name: createmanagedeventsubscription method: POST description: Salesforce Create Managed Event Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: data-v64.0-tooling-sobjects-ManagedEventSubscription-describe path: /data/v64.0/tooling/sobjects/ManagedEventSubscription/describe operations: - name: describemanagedeventsubscription method: GET description: Salesforce Describe Managed Event Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. - name: data-v64.0-tooling-sobjects-ManagedEventSubscription-managedEventSubscriptionId path: /data/v64.0/tooling/sobjects/ManagedEventSubscription/{managedEventSubscriptionId} operations: - name: getmanagedeventsubscriptionbyid method: GET description: Salesforce Get Managed Event Subscription by Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: managedEventSubscriptionId in: path type: string required: true - name: updatemanagedeventsubscription method: PATCH description: Salesforce Update Managed Event Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: managedEventSubscriptionId in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deletemanagedeventsubscription method: DELETE description: Salesforce Delete Managed Event Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: managedEventSubscriptionId in: path type: string required: true - name: data-v64.0-tooling-sobjects-PlatformEventChannel-describe path: /data/v64.0/tooling/sobjects/PlatformEventChannel/describe operations: - name: describeeventchannel method: GET description: Salesforce Describe Event Channel outputRawFormat: json outputParameters: - name: result type: object value: $. - name: data-v64.0-tooling-sobjects-PlatformEventChannel-PLATFORM_EVENT_CHANNEL_ID path: /data/v64.0/tooling/sobjects/PlatformEventChannel/{PLATFORM_EVENT_CHANNEL_ID} operations: - name: geteventchannel method: GET description: Salesforce Get Event Channel outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: PLATFORM_EVENT_CHANNEL_ID in: path type: string required: true - name: deleteeventchannel method: DELETE description: Salesforce Delete Event Channel outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: PLATFORM_EVENT_CHANNEL_ID in: path type: string required: true authentication: type: bearer token: '{{env.SALESFORCE_API_KEY}}' exposes: - type: rest namespace: salesforce-events-rest port: 8080 description: REST adapter for Salesforce — Events. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/soap/u/64-0 name: soap-u-64-0 description: REST surface for Soap-u-64.0. operations: - method: POST name: publishmultipleeventswithsoapcall description: Salesforce Publish Multiple Events With Soap Call call: salesforce-events.publishmultipleeventswithsoapcall with: Content-Type: rest.Content-Type charset: rest.charset SOAPAction: rest.SOAPAction Accept: rest.Accept body: rest.body outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/event/eventschema/{schema-id} name: data-v64-0-event-eventschema-schema-id description: REST surface for data-v64.0-event-eventSchema-SCHEMA_ID. operations: - method: GET name: platformeventschemabyschemaid description: Salesforce Platform Event Schema by Schema Id call: salesforce-events.platformeventschemabyschemaid with: SCHEMA_ID: rest.SCHEMA_ID Content-Type: rest.Content-Type outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/query name: data-v64-0-query description: REST surface for data-v64.0-query. operations: - method: GET name: listeventrelayfeedbackitems description: Salesforce List Event Relay Feedback Items call: salesforce-events.listeventrelayfeedbackitems with: q: rest.q outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/sobjects/eventlogfile/{id}/logfile name: data-v64-0-sobjects-eventlogfile-id-logfile description: REST surface for data-v64.0-sobjects-EventLogFile-id-LogFile. operations: - method: GET name: geteventlogfile description: Salesforce Get Event Log File call: salesforce-events.geteventlogfile with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/sobjects/eventrelayfeedback/describe name: data-v64-0-sobjects-eventrelayfeedback-describe description: REST surface for data-v64.0-sobjects-EventRelayFeedback-describe. operations: - method: GET name: describeeventfelayfeedback description: Salesforce Describe Event Felay Feedback call: salesforce-events.describeeventfelayfeedback outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/sobjects/eventrelayfeedback/{event-relay-feedback-id} name: data-v64-0-sobjects-eventrelayfeedback-event-relay-feedback-id description: REST surface for data-v64.0-sobjects-EventRelayFeedback-EVENT_RELAY_FEEDBACK_ID. operations: - method: GET name: geteventrelayfeedback description: Salesforce Get Event Relay Feedback call: salesforce-events.geteventrelayfeedback with: EVENT_RELAY_FEEDBACK_ID: rest.EVENT_RELAY_FEEDBACK_ID outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/sobjects/{event-name}/eventschema name: data-v64-0-sobjects-event-name-eventschema description: REST surface for data-v64.0-sobjects-EVENT_NAME-eventSchema. operations: - method: GET name: platformeventschemabyeventname description: Salesforce Platform Event Schema by Event Name call: salesforce-events.platformeventschemabyeventname with: EVENT_NAME: rest.EVENT_NAME Content-Type: rest.Content-Type outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/sobjects/{eventapiname} name: data-v64-0-sobjects-eventapiname description: REST surface for data-v64.0-sobjects-EventApiName. operations: - method: POST name: publishsingleevent description: Salesforce Publish Single Event call: salesforce-events.publishsingleevent with: EventApiName: rest.EventApiName body: rest.body outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/tooling/sobjects/eventrelayconfig name: data-v64-0-tooling-sobjects-eventrelayconfig description: REST surface for data-v64.0-tooling-sobjects-EventRelayConfig. operations: - method: POST name: createeventrelay description: Salesforce Create Event Relay call: salesforce-events.createeventrelay with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/tooling/sobjects/eventrelayconfig/describe name: data-v64-0-tooling-sobjects-eventrelayconfig-describe description: REST surface for data-v64.0-tooling-sobjects-EventRelayConfig-describe. operations: - method: GET name: describeeventrelay description: Salesforce Describe Event Relay call: salesforce-events.describeeventrelay outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/tooling/sobjects/eventrelayconfig/{event-relay-config-id} name: data-v64-0-tooling-sobjects-eventrelayconfig-event-relay-config-id description: REST surface for data-v64.0-tooling-sobjects-EventRelayConfig-EVENT_RELAY_CONFIG_ID. operations: - method: DELETE name: deleteeventrelay description: Salesforce Delete Event Relay call: salesforce-events.deleteeventrelay with: EVENT_RELAY_CONFIG_ID: rest.EVENT_RELAY_CONFIG_ID outputParameters: - type: object mapping: $. - method: GET name: geteventrelay description: Salesforce Get Event Relay call: salesforce-events.geteventrelay with: EVENT_RELAY_CONFIG_ID: rest.EVENT_RELAY_CONFIG_ID outputParameters: - type: object mapping: $. - method: PATCH name: changeeventrelaystate description: Salesforce Change Event Relay State call: salesforce-events.changeeventrelaystate with: EVENT_RELAY_CONFIG_ID: rest.EVENT_RELAY_CONFIG_ID SOAPAction: rest.SOAPAction Authorization: rest.Authorization body: rest.body outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/tooling/sobjects/managedeventsubscription name: data-v64-0-tooling-sobjects-managedeventsubscription description: REST surface for data-v64.0-tooling-sobjects-ManagedEventSubscription. operations: - method: POST name: createmanagedeventsubscription description: Salesforce Create Managed Event Subscription call: salesforce-events.createmanagedeventsubscription with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/tooling/sobjects/managedeventsubscription/describe name: data-v64-0-tooling-sobjects-managedeventsubscription-describe description: REST surface for data-v64.0-tooling-sobjects-ManagedEventSubscription-describe. operations: - method: GET name: describemanagedeventsubscription description: Salesforce Describe Managed Event Subscription call: salesforce-events.describemanagedeventsubscription outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/tooling/sobjects/managedeventsubscription/{managedeventsubscriptionid} name: data-v64-0-tooling-sobjects-managedeventsubscription-managedeventsubscriptionid description: REST surface for data-v64.0-tooling-sobjects-ManagedEventSubscription-managedEventSubscriptionId. operations: - method: GET name: getmanagedeventsubscriptionbyid description: Salesforce Get Managed Event Subscription by Id call: salesforce-events.getmanagedeventsubscriptionbyid with: managedEventSubscriptionId: rest.managedEventSubscriptionId outputParameters: - type: object mapping: $. - method: PATCH name: updatemanagedeventsubscription description: Salesforce Update Managed Event Subscription call: salesforce-events.updatemanagedeventsubscription with: managedEventSubscriptionId: rest.managedEventSubscriptionId body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletemanagedeventsubscription description: Salesforce Delete Managed Event Subscription call: salesforce-events.deletemanagedeventsubscription with: managedEventSubscriptionId: rest.managedEventSubscriptionId outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/tooling/sobjects/platformeventchannel/describe name: data-v64-0-tooling-sobjects-platformeventchannel-describe description: REST surface for data-v64.0-tooling-sobjects-PlatformEventChannel-describe. operations: - method: GET name: describeeventchannel description: Salesforce Describe Event Channel call: salesforce-events.describeeventchannel outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/tooling/sobjects/platformeventchannel/{platform-event-channel-id} name: data-v64-0-tooling-sobjects-platformeventchannel-platform-event-channel-id description: REST surface for data-v64.0-tooling-sobjects-PlatformEventChannel-PLATFORM_EVENT_CHANNEL_ID. operations: - method: GET name: geteventchannel description: Salesforce Get Event Channel call: salesforce-events.geteventchannel with: PLATFORM_EVENT_CHANNEL_ID: rest.PLATFORM_EVENT_CHANNEL_ID outputParameters: - type: object mapping: $. - method: DELETE name: deleteeventchannel description: Salesforce Delete Event Channel call: salesforce-events.deleteeventchannel with: PLATFORM_EVENT_CHANNEL_ID: rest.PLATFORM_EVENT_CHANNEL_ID outputParameters: - type: object mapping: $. - type: mcp namespace: salesforce-events-mcp port: 9090 transport: http description: MCP adapter for Salesforce — Events. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: salesforce-publish-multiple-events-soap description: Salesforce Publish Multiple Events With Soap Call hints: readOnly: false destructive: false idempotent: false call: salesforce-events.publishmultipleeventswithsoapcall with: Content-Type: tools.Content-Type charset: tools.charset SOAPAction: tools.SOAPAction Accept: tools.Accept body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-platform-event-schema-schema description: Salesforce Platform Event Schema by Schema Id hints: readOnly: true destructive: false idempotent: true call: salesforce-events.platformeventschemabyschemaid with: SCHEMA_ID: tools.SCHEMA_ID Content-Type: tools.Content-Type outputParameters: - type: object mapping: $. - name: salesforce-list-event-relay-feedback description: Salesforce List Event Relay Feedback Items hints: readOnly: true destructive: false idempotent: true call: salesforce-events.listeventrelayfeedbackitems with: q: tools.q outputParameters: - type: object mapping: $. - name: salesforce-get-event-log-file description: Salesforce Get Event Log File hints: readOnly: true destructive: false idempotent: true call: salesforce-events.geteventlogfile with: id: tools.id outputParameters: - type: object mapping: $. - name: salesforce-describe-event-felay-feedback description: Salesforce Describe Event Felay Feedback hints: readOnly: true destructive: false idempotent: true call: salesforce-events.describeeventfelayfeedback outputParameters: - type: object mapping: $. - name: salesforce-get-event-relay-feedback description: Salesforce Get Event Relay Feedback hints: readOnly: true destructive: false idempotent: true call: salesforce-events.geteventrelayfeedback with: EVENT_RELAY_FEEDBACK_ID: tools.EVENT_RELAY_FEEDBACK_ID outputParameters: - type: object mapping: $. - name: salesforce-platform-event-schema-event description: Salesforce Platform Event Schema by Event Name hints: readOnly: true destructive: false idempotent: true call: salesforce-events.platformeventschemabyeventname with: EVENT_NAME: tools.EVENT_NAME Content-Type: tools.Content-Type outputParameters: - type: object mapping: $. - name: salesforce-publish-single-event description: Salesforce Publish Single Event hints: readOnly: false destructive: false idempotent: false call: salesforce-events.publishsingleevent with: EventApiName: tools.EventApiName body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-create-event-relay description: Salesforce Create Event Relay hints: readOnly: false destructive: false idempotent: false call: salesforce-events.createeventrelay with: body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-describe-event-relay description: Salesforce Describe Event Relay hints: readOnly: true destructive: false idempotent: true call: salesforce-events.describeeventrelay outputParameters: - type: object mapping: $. - name: salesforce-delete-event-relay description: Salesforce Delete Event Relay hints: readOnly: false destructive: true idempotent: true call: salesforce-events.deleteeventrelay with: EVENT_RELAY_CONFIG_ID: tools.EVENT_RELAY_CONFIG_ID outputParameters: - type: object mapping: $. - name: salesforce-get-event-relay description: Salesforce Get Event Relay hints: readOnly: true destructive: false idempotent: true call: salesforce-events.geteventrelay with: EVENT_RELAY_CONFIG_ID: tools.EVENT_RELAY_CONFIG_ID outputParameters: - type: object mapping: $. - name: salesforce-change-event-relay-state description: Salesforce Change Event Relay State hints: readOnly: false destructive: false idempotent: true call: salesforce-events.changeeventrelaystate with: EVENT_RELAY_CONFIG_ID: tools.EVENT_RELAY_CONFIG_ID SOAPAction: tools.SOAPAction Authorization: tools.Authorization body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-create-managed-event-subscription description: Salesforce Create Managed Event Subscription hints: readOnly: false destructive: false idempotent: false call: salesforce-events.createmanagedeventsubscription with: body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-describe-managed-event-subscription description: Salesforce Describe Managed Event Subscription hints: readOnly: true destructive: false idempotent: true call: salesforce-events.describemanagedeventsubscription outputParameters: - type: object mapping: $. - name: salesforce-get-managed-event-subscription description: Salesforce Get Managed Event Subscription by Id hints: readOnly: true destructive: false idempotent: true call: salesforce-events.getmanagedeventsubscriptionbyid with: managedEventSubscriptionId: tools.managedEventSubscriptionId outputParameters: - type: object mapping: $. - name: salesforce-update-managed-event-subscription description: Salesforce Update Managed Event Subscription hints: readOnly: false destructive: false idempotent: true call: salesforce-events.updatemanagedeventsubscription with: managedEventSubscriptionId: tools.managedEventSubscriptionId body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-delete-managed-event-subscription description: Salesforce Delete Managed Event Subscription hints: readOnly: false destructive: true idempotent: true call: salesforce-events.deletemanagedeventsubscription with: managedEventSubscriptionId: tools.managedEventSubscriptionId outputParameters: - type: object mapping: $. - name: salesforce-describe-event-channel description: Salesforce Describe Event Channel hints: readOnly: true destructive: false idempotent: true call: salesforce-events.describeeventchannel outputParameters: - type: object mapping: $. - name: salesforce-get-event-channel description: Salesforce Get Event Channel hints: readOnly: true destructive: false idempotent: true call: salesforce-events.geteventchannel with: PLATFORM_EVENT_CHANNEL_ID: tools.PLATFORM_EVENT_CHANNEL_ID outputParameters: - type: object mapping: $. - name: salesforce-delete-event-channel description: Salesforce Delete Event Channel hints: readOnly: false destructive: true idempotent: true call: salesforce-events.deleteeventchannel with: PLATFORM_EVENT_CHANNEL_ID: tools.PLATFORM_EVENT_CHANNEL_ID outputParameters: - type: object mapping: $.