Salesforce Service Cloud · Capability

Salesforce Service Cloud REST API — Contacts

Salesforce Service Cloud REST API — Contacts. 2 operations. Lead operation: Salesforce Service Cloud Get Contact object metadata. Self-contained Naftiko capability covering one Salesforce Service Cloud business surface.

Run with Naftiko Salesforce Service CloudContacts

What You Can Do

GET
Getcontactinfo — Salesforce Service Cloud Get Contact object metadata
/v1/sobjects/contact
POST
Createcontact — Salesforce Service Cloud Create a new contact
/v1/sobjects/contact

MCP Tools

salesforce-service-cloud-get-contact

Salesforce Service Cloud Get Contact object metadata

read-only idempotent
salesforce-service-cloud-create-new

Salesforce Service Cloud Create a new contact

Capability Spec

rest-contacts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Salesforce Service Cloud REST API — Contacts
  description: 'Salesforce Service Cloud REST API — Contacts. 2 operations. Lead operation: Salesforce Service Cloud Get Contact
    object metadata. Self-contained Naftiko capability covering one Salesforce Service Cloud business surface.'
  tags:
  - Salesforce Service Cloud
  - Contacts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SALESFORCE_SERVICE_CLOUD_API_KEY: SALESFORCE_SERVICE_CLOUD_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-contacts
    baseUri: https://{instance}.salesforce.com/services/data/v59.0
    description: Salesforce Service Cloud REST API — Contacts business capability. Self-contained, no shared references.
    resources:
    - name: sobjects-Contact
      path: /sobjects/Contact
      operations:
      - name: getcontactinfo
        method: GET
        description: Salesforce Service Cloud Get Contact object metadata
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createcontact
        method: POST
        description: Salesforce Service Cloud Create a new contact
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.SALESFORCE_SERVICE_CLOUD_API_KEY}}'
  exposes:
  - type: rest
    namespace: rest-contacts-rest
    port: 8080
    description: REST adapter for Salesforce Service Cloud REST API — Contacts. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/sobjects/contact
      name: sobjects-contact
      description: REST surface for sobjects-Contact.
      operations:
      - method: GET
        name: getcontactinfo
        description: Salesforce Service Cloud Get Contact object metadata
        call: rest-contacts.getcontactinfo
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createcontact
        description: Salesforce Service Cloud Create a new contact
        call: rest-contacts.createcontact
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-contacts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Salesforce Service Cloud REST API — Contacts. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: salesforce-service-cloud-get-contact
      description: Salesforce Service Cloud Get Contact object metadata
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-contacts.getcontactinfo
      outputParameters:
      - type: object
        mapping: $.
    - name: salesforce-service-cloud-create-new
      description: Salesforce Service Cloud Create a new contact
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: rest-contacts.createcontact
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.