Salesforce · Capability

Salesforce — Password

Salesforce — Password. 3 operations. Lead operation: Salesforce Sobject Self Service User Password. Self-contained Naftiko capability covering one Salesforce business surface.

Run with Naftiko SalesforcePassword

What You Can Do

GET
Sobjectselfserviceuserpassword — Salesforce Sobject Self Service User Password
/v1/data/v64-0/sobjects/selfserviceuser/{user-id}/password
GET
Sobjectuserpassword — Salesforce Sobject User Password
/v1/data/v64-0/sobjects/user/{user-id}/password
POST
Forgotpasswordinitialize — Salesforce Forgot Password - Initialize
/v1/services/auth/headless/forgot-password

MCP Tools

salesforce-sobject-self-service-user

Salesforce Sobject Self Service User Password

read-only idempotent
salesforce-sobject-user-password

Salesforce Sobject User Password

read-only idempotent
salesforce-forgot-password-initialize

Salesforce Forgot Password - Initialize

Capability Spec

salesforce-password.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Salesforce — Password
  description: 'Salesforce — Password. 3 operations. Lead operation: Salesforce Sobject Self Service User Password. Self-contained
    Naftiko capability covering one Salesforce business surface.'
  tags:
  - Salesforce
  - Password
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SALESFORCE_API_KEY: SALESFORCE_API_KEY
capability:
  consumes:
  - type: http
    namespace: salesforce-password
    baseUri: https://login.salesforce.com
    description: Salesforce — Password business capability. Self-contained, no shared references.
    resources:
    - name: data-v64.0-sobjects-SelfServiceUser-USER_ID-password
      path: /data/v64.0/sobjects/SelfServiceUser/{USER_ID}/password
      operations:
      - name: sobjectselfserviceuserpassword
        method: GET
        description: Salesforce Sobject Self Service User Password
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: USER_ID
          in: path
          type: string
          required: true
        - name: Content-Type
          in: header
          type: string
          required: true
    - name: data-v64.0-sobjects-User-USER_ID-password
      path: /data/v64.0/sobjects/User/{USER_ID}/password
      operations:
      - name: sobjectuserpassword
        method: GET
        description: Salesforce Sobject User Password
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: USER_ID
          in: path
          type: string
          required: true
        - name: Content-Type
          in: header
          type: string
          required: true
    - name: services-auth-headless-forgot_password
      path: /services/auth/headless/forgot_password
      operations:
      - name: forgotpasswordinitialize
        method: POST
        description: Salesforce Forgot Password - Initialize
        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_API_KEY}}'
  exposes:
  - type: rest
    namespace: salesforce-password-rest
    port: 8080
    description: REST adapter for Salesforce — Password. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/data/v64-0/sobjects/selfserviceuser/{user-id}/password
      name: data-v64-0-sobjects-selfserviceuser-user-id-password
      description: REST surface for data-v64.0-sobjects-SelfServiceUser-USER_ID-password.
      operations:
      - method: GET
        name: sobjectselfserviceuserpassword
        description: Salesforce Sobject Self Service User Password
        call: salesforce-password.sobjectselfserviceuserpassword
        with:
          USER_ID: rest.USER_ID
          Content-Type: rest.Content-Type
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/data/v64-0/sobjects/user/{user-id}/password
      name: data-v64-0-sobjects-user-user-id-password
      description: REST surface for data-v64.0-sobjects-User-USER_ID-password.
      operations:
      - method: GET
        name: sobjectuserpassword
        description: Salesforce Sobject User Password
        call: salesforce-password.sobjectuserpassword
        with:
          USER_ID: rest.USER_ID
          Content-Type: rest.Content-Type
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/services/auth/headless/forgot-password
      name: services-auth-headless-forgot-password
      description: REST surface for services-auth-headless-forgot_password.
      operations:
      - method: POST
        name: forgotpasswordinitialize
        description: Salesforce Forgot Password - Initialize
        call: salesforce-password.forgotpasswordinitialize
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: salesforce-password-mcp
    port: 9090
    transport: http
    description: MCP adapter for Salesforce — Password. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: salesforce-sobject-self-service-user
      description: Salesforce Sobject Self Service User Password
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: salesforce-password.sobjectselfserviceuserpassword
      with:
        USER_ID: tools.USER_ID
        Content-Type: tools.Content-Type
      outputParameters:
      - type: object
        mapping: $.
    - name: salesforce-sobject-user-password
      description: Salesforce Sobject User Password
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: salesforce-password.sobjectuserpassword
      with:
        USER_ID: tools.USER_ID
        Content-Type: tools.Content-Type
      outputParameters:
      - type: object
        mapping: $.
    - name: salesforce-forgot-password-initialize
      description: Salesforce Forgot Password - Initialize
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: salesforce-password.forgotpasswordinitialize
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.