Salesforce · Capability

Salesforce — Platform

Salesforce — Platform. 2 operations. Lead operation: Salesforce Platform Event Schema by Schema Id. Self-contained Naftiko capability covering one Salesforce business surface.

Run with Naftiko SalesforcePlatform

What You Can Do

GET
Platformeventschemabyschemaid — Salesforce Platform Event Schema by Schema Id
/v1/data/v64-0/event/eventschema/{schema-id}
GET
Platformeventschemabyeventname — Salesforce Platform Event Schema by Event Name
/v1/data/v64-0/sobjects/{event-name}/eventschema

MCP Tools

salesforce-platform-event-schema-schema

Salesforce Platform Event Schema by Schema Id

read-only idempotent
salesforce-platform-event-schema-event

Salesforce Platform Event Schema by Event Name

read-only idempotent

Capability Spec

salesforce-platform.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Salesforce — Platform
  description: 'Salesforce — Platform. 2 operations. Lead operation: Salesforce Platform Event Schema by Schema Id. Self-contained
    Naftiko capability covering one Salesforce business surface.'
  tags:
  - Salesforce
  - Platform
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SALESFORCE_API_KEY: SALESFORCE_API_KEY
capability:
  consumes:
  - type: http
    namespace: salesforce-platform
    baseUri: https://login.salesforce.com
    description: Salesforce — Platform business capability. Self-contained, no shared references.
    resources:
    - 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-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
    authentication:
      type: bearer
      token: '{{env.SALESFORCE_API_KEY}}'
  exposes:
  - type: rest
    namespace: salesforce-platform-rest
    port: 8080
    description: REST adapter for Salesforce — Platform. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - 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-platform.platformeventschemabyschemaid
        with:
          SCHEMA_ID: rest.SCHEMA_ID
          Content-Type: rest.Content-Type
        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-platform.platformeventschemabyeventname
        with:
          EVENT_NAME: rest.EVENT_NAME
          Content-Type: rest.Content-Type
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: salesforce-platform-mcp
    port: 9090
    transport: http
    description: MCP adapter for Salesforce — Platform. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: salesforce-platform-event-schema-schema
      description: Salesforce Platform Event Schema by Schema Id
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: salesforce-platform.platformeventschemabyschemaid
      with:
        SCHEMA_ID: tools.SCHEMA_ID
        Content-Type: tools.Content-Type
      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-platform.platformeventschemabyeventname
      with:
        EVENT_NAME: tools.EVENT_NAME
        Content-Type: tools.Content-Type
      outputParameters:
      - type: object
        mapping: $.