Salesforce Einstein · Capability

Salesforce Einstein Bots API — Bot Definitions

Salesforce Einstein Bots API — Bot Definitions. 2 operations. Lead operation: Salesforce Einstein List bots. Self-contained Naftiko capability covering one Salesforce Einstein business surface.

Run with Naftiko Salesforce EinsteinBot Definitions

What You Can Do

GET
Listbots — Salesforce Einstein List bots
/v1/einstein/bots
GET
Getbot — Salesforce Einstein Get a bot
/v1/einstein/bots/{botid}

MCP Tools

salesforce-einstein-list-bots

Salesforce Einstein List bots

read-only idempotent
salesforce-einstein-get-bot

Salesforce Einstein Get a bot

read-only idempotent

Capability Spec

bots-bot-definitions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Salesforce Einstein Bots API — Bot Definitions
  description: 'Salesforce Einstein Bots API — Bot Definitions. 2 operations. Lead operation: Salesforce Einstein List bots.
    Self-contained Naftiko capability covering one Salesforce Einstein business surface.'
  tags:
  - Salesforce Einstein
  - Bot Definitions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SALESFORCE_EINSTEIN_API_KEY: SALESFORCE_EINSTEIN_API_KEY
capability:
  consumes:
  - type: http
    namespace: bots-bot-definitions
    baseUri: https://{instance}.salesforce.com/services/data/v58.0
    description: Salesforce Einstein Bots API — Bot Definitions business capability. Self-contained, no shared references.
    resources:
    - name: einstein-bots
      path: /einstein/bots
      operations:
      - name: listbots
        method: GET
        description: Salesforce Einstein List bots
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: einstein-bots-botId
      path: /einstein/bots/{botId}
      operations:
      - name: getbot
        method: GET
        description: Salesforce Einstein Get a bot
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.SALESFORCE_EINSTEIN_API_KEY}}'
  exposes:
  - type: rest
    namespace: bots-bot-definitions-rest
    port: 8080
    description: REST adapter for Salesforce Einstein Bots API — Bot Definitions. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/einstein/bots
      name: einstein-bots
      description: REST surface for einstein-bots.
      operations:
      - method: GET
        name: listbots
        description: Salesforce Einstein List bots
        call: bots-bot-definitions.listbots
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/einstein/bots/{botid}
      name: einstein-bots-botid
      description: REST surface for einstein-bots-botId.
      operations:
      - method: GET
        name: getbot
        description: Salesforce Einstein Get a bot
        call: bots-bot-definitions.getbot
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bots-bot-definitions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Salesforce Einstein Bots API — Bot Definitions. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: salesforce-einstein-list-bots
      description: Salesforce Einstein List bots
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bots-bot-definitions.listbots
      outputParameters:
      - type: object
        mapping: $.
    - name: salesforce-einstein-get-bot
      description: Salesforce Einstein Get a bot
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bots-bot-definitions.getbot
      outputParameters:
      - type: object
        mapping: $.