Salesforce · Capability

Salesforce — Following

Salesforce — Following. 2 operations. Lead operation: Salesforce Following. Self-contained Naftiko capability covering one Salesforce business surface.

Run with Naftiko SalesforceFollowing

What You Can Do

GET
Following — Salesforce Following
/v1/data/v64-0/chatter/users/{user-id}/following
POST
Followingpost — Salesforce Following - Post
/v1/data/v64-0/chatter/users/{user-id}/following

MCP Tools

salesforce-following

Salesforce Following

read-only idempotent
salesforce-following-post

Salesforce Following - Post

Capability Spec

salesforce-following.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Salesforce — Following
  description: 'Salesforce — Following. 2 operations. Lead operation: Salesforce Following. Self-contained Naftiko capability
    covering one Salesforce business surface.'
  tags:
  - Salesforce
  - Following
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SALESFORCE_API_KEY: SALESFORCE_API_KEY
capability:
  consumes:
  - type: http
    namespace: salesforce-following
    baseUri: https://login.salesforce.com
    description: Salesforce — Following business capability. Self-contained, no shared references.
    resources:
    - name: data-v64.0-chatter-users-USER_ID-following
      path: /data/v64.0/chatter/users/{USER_ID}/following
      operations:
      - name: following
        method: GET
        description: Salesforce Following
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: USER_ID
          in: path
          type: string
          required: true
      - name: followingpost
        method: POST
        description: Salesforce Following - Post
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: subjectId
          in: query
          type: string
          required: true
        - name: USER_ID
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.SALESFORCE_API_KEY}}'
  exposes:
  - type: rest
    namespace: salesforce-following-rest
    port: 8080
    description: REST adapter for Salesforce — Following. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/data/v64-0/chatter/users/{user-id}/following
      name: data-v64-0-chatter-users-user-id-following
      description: REST surface for data-v64.0-chatter-users-USER_ID-following.
      operations:
      - method: GET
        name: following
        description: Salesforce Following
        call: salesforce-following.following
        with:
          USER_ID: rest.USER_ID
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: followingpost
        description: Salesforce Following - Post
        call: salesforce-following.followingpost
        with:
          subjectId: rest.subjectId
          USER_ID: rest.USER_ID
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: salesforce-following-mcp
    port: 9090
    transport: http
    description: MCP adapter for Salesforce — Following. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: salesforce-following
      description: Salesforce Following
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: salesforce-following.following
      with:
        USER_ID: tools.USER_ID
      outputParameters:
      - type: object
        mapping: $.
    - name: salesforce-following-post
      description: Salesforce Following - Post
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: salesforce-following.followingpost
      with:
        subjectId: tools.subjectId
        USER_ID: tools.USER_ID
      outputParameters:
      - type: object
        mapping: $.