Salesforce · Capability

Salesforce — Retrieves

Salesforce — Retrieves. 10 operations. Lead operation: Salesforce Bulk Retrieve Batch Result. Self-contained Naftiko capability covering one Salesforce business surface.

Run with Naftiko SalesforceRetrieves

What You Can Do

GET
Bulkretrievebatchresult — Salesforce Bulk Retrieve Batch Result
/v1/async/64-0/job/batch/{batchid}/result
GET
Bulkretrievebatchresultdata — Salesforce Bulk Retrieve Batch Result Data
/v1/async/64-0/job/batch/{batchid}/result/{batchresultid}
GET
Retrieveopenapischema — Salesforce Retrieve Openapi Schema
/v1/data/v64-0/async/specifications/oas3/{schemaid}
GET
Sobjectcollectionsretrieve — Salesforce Sobject Collections Retrieve
/v1/data/v64-0/composite/sobjects/{sobject-api-name}
GET
Retrieveexpressionsetversiondependencies — Salesforce Retrieve Expression Set Version Dependencies
/v1/data/v64-0/connect/business-rules/expression-set/version/{expressionsetversionid}/dependencies
GET
Expressionsetretrieve — Salesforce Expression Set Retrieve
/v1/data/v64-0/connect/business-rules/expression-set/{expressionsetid}
GET
Retrievelookuptables — Salesforce Retrieve Lookup Tables
/v1/data/v64-0/connect/business-rules/lookup-tables
GET
Retrieveknowledgelanguagesettings — Salesforce Retrieve Knowledge Language Settings
/v1/data/v64-0/knowledgemanagement/settings
GET
Sobjectrichtextimageretrieve — Salesforce Sobject Rich Text Image Retrieve
/v1/data/v64-0/sobjects/{sobject-api-name}/{record-id}/richtextimagefields/{field-name}/{content-reference-id}
GET
Sobjectblobretrieve — Salesforce Sobject Blob Retrieve
/v1/data/v64-0/sobjects/{sobject-api-name}/{record-id}/{blob-field}

MCP Tools

salesforce-bulk-retrieve-batch-result

Salesforce Bulk Retrieve Batch Result

read-only idempotent
salesforce-bulk-retrieve-batch-result-2

Salesforce Bulk Retrieve Batch Result Data

read-only idempotent
salesforce-retrieve-openapi-schema

Salesforce Retrieve Openapi Schema

read-only idempotent
salesforce-sobject-collections-retrieve

Salesforce Sobject Collections Retrieve

read-only idempotent
salesforce-retrieve-expression-set-version

Salesforce Retrieve Expression Set Version Dependencies

read-only idempotent
salesforce-expression-set-retrieve

Salesforce Expression Set Retrieve

read-only idempotent
salesforce-retrieve-lookup-tables

Salesforce Retrieve Lookup Tables

read-only idempotent
salesforce-retrieve-knowledge-language-settings

Salesforce Retrieve Knowledge Language Settings

read-only idempotent
salesforce-sobject-rich-text-image

Salesforce Sobject Rich Text Image Retrieve

read-only idempotent
salesforce-sobject-blob-retrieve

Salesforce Sobject Blob Retrieve

read-only idempotent

Capability Spec

salesforce-retrieves.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Salesforce — Retrieves
  description: 'Salesforce — Retrieves. 10 operations. Lead operation: Salesforce Bulk Retrieve Batch Result. Self-contained
    Naftiko capability covering one Salesforce business surface.'
  tags:
  - Salesforce
  - Retrieves
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SALESFORCE_API_KEY: SALESFORCE_API_KEY
capability:
  consumes:
  - type: http
    namespace: salesforce-retrieves
    baseUri: https://login.salesforce.com
    description: Salesforce — Retrieves business capability. Self-contained, no shared references.
    resources:
    - name: async-64.0-job-batch-_batchId-result
      path: /async/64.0/job//batch/{_batchId}/result
      operations:
      - name: bulkretrievebatchresult
        method: GET
        description: Salesforce Bulk Retrieve Batch Result
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: X-SFDC-Session
          in: header
          type: string
          required: true
        - name: Accept-Encoding
          in: header
          type: string
          required: true
        - name: Content-Encoding
          in: header
          type: string
          required: true
        - name: _batchId
          in: path
          type: string
          required: true
    - name: async-64.0-job-batch-_batchId-result-batchResultId
      path: /async/64.0/job//batch/{_batchId}/result/{batchResultId}
      operations:
      - name: bulkretrievebatchresultdata
        method: GET
        description: Salesforce Bulk Retrieve Batch Result Data
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: batchResultId
          in: path
          type: string
          required: true
        - name: X-SFDC-Session
          in: header
          type: string
          required: true
        - name: Accept-Encoding
          in: header
          type: string
          required: true
        - name: Content-Encoding
          in: header
          type: string
          required: true
        - name: _batchId
          in: path
          type: string
          required: true
    - name: data-v64.0-async-specifications-oas3-schemaId
      path: /data/v64.0/async/specifications/oas3/{schemaId}
      operations:
      - name: retrieveopenapischema
        method: GET
        description: Salesforce Retrieve Openapi Schema
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: schemaId
          in: path
          type: string
          description: Identifier that was returned in the original request to generate the Schema.
          required: true
    - name: data-v64.0-composite-sobjects-SOBJECT_API_NAME
      path: /data/v64.0/composite/sobjects/{SOBJECT_API_NAME}
      operations:
      - name: sobjectcollectionsretrieve
        method: GET
        description: Salesforce Sobject Collections Retrieve
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ids
          in: query
          type: string
          required: true
        - name: fields
          in: query
          type: string
          required: true
        - name: SOBJECT_API_NAME
          in: path
          type: string
          required: true
        - name: Content-Type
          in: header
          type: string
          required: true
    - name: data-v64.0-connect-business-rules-expression-set-version-expressionSetVersionId-
      path: /data/v64.0/connect/business-rules/expression-set/version/{expressionSetVersionId}/dependencies
      operations:
      - name: retrieveexpressionsetversiondependencies
        method: GET
        description: Salesforce Retrieve Expression Set Version Dependencies
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: expressionSetVersionId
          in: path
          type: string
          description: 'Expression Set Version Id: For Example 9QLHo000000LBjEOAW'
          required: true
    - name: data-v64.0-connect-business-rules-expression-set-expressionSetId
      path: /data/v64.0/connect/business-rules/expression-set/{expressionSetId}
      operations:
      - name: expressionsetretrieve
        method: GET
        description: Salesforce Expression Set Retrieve
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: expressionSetId
          in: path
          type: string
          description: 'Expression Set Id: For Example 9QLHo000000LBjEOAW'
          required: true
    - name: data-v64.0-connect-business-rules-lookup-tables
      path: /data/v64.0/connect/business-rules/lookup-tables
      operations:
      - name: retrievelookuptables
        method: GET
        description: Salesforce Retrieve Lookup Tables
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: searchKey
          in: query
          type: string
          required: true
        - name: usageType
          in: query
          type: string
          required: true
        - name: lookupTypes
          in: query
          type: string
          description: 'Optional: Type of lookup table. Valid values are: DecisionMatrix, DecisionTable'
          required: true
    - name: data-v64.0-knowledgeManagement-settings
      path: /data/v64.0/knowledgeManagement/settings
      operations:
      - name: retrieveknowledgelanguagesettings
        method: GET
        description: Salesforce Retrieve Knowledge Language Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Content-Type
          in: header
          type: string
          required: true
    - name: data-v64.0-sobjects-SOBJECT_API_NAME-RECORD_ID-richTextImageFields-FIELD_NAME-CO
      path: /data/v64.0/sobjects/{SOBJECT_API_NAME}/{RECORD_ID}/richTextImageFields/{FIELD_NAME}/{CONTENT_REFERENCE_ID}
      operations:
      - name: sobjectrichtextimageretrieve
        method: GET
        description: Salesforce Sobject Rich Text Image Retrieve
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: SOBJECT_API_NAME
          in: path
          type: string
          required: true
        - name: RECORD_ID
          in: path
          type: string
          required: true
        - name: FIELD_NAME
          in: path
          type: string
          required: true
        - name: CONTENT_REFERENCE_ID
          in: path
          type: string
          required: true
        - name: Content-Type
          in: header
          type: string
          required: true
    - name: data-v64.0-sobjects-SOBJECT_API_NAME-RECORD_ID-BLOB_FIELD
      path: /data/v64.0/sobjects/{SOBJECT_API_NAME}/{RECORD_ID}/{BLOB_FIELD}
      operations:
      - name: sobjectblobretrieve
        method: GET
        description: Salesforce Sobject Blob Retrieve
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: SOBJECT_API_NAME
          in: path
          type: string
          required: true
        - name: RECORD_ID
          in: path
          type: string
          required: true
        - name: BLOB_FIELD
          in: path
          type: string
          required: true
        - name: Content-Type
          in: header
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.SALESFORCE_API_KEY}}'
  exposes:
  - type: rest
    namespace: salesforce-retrieves-rest
    port: 8080
    description: REST adapter for Salesforce — Retrieves. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/async/64-0/job/batch/{batchid}/result
      name: async-64-0-job-batch-batchid-result
      description: REST surface for async-64.0-job-batch-_batchId-result.
      operations:
      - method: GET
        name: bulkretrievebatchresult
        description: Salesforce Bulk Retrieve Batch Result
        call: salesforce-retrieves.bulkretrievebatchresult
        with:
          X-SFDC-Session: rest.X-SFDC-Session
          Accept-Encoding: rest.Accept-Encoding
          Content-Encoding: rest.Content-Encoding
          _batchId: rest._batchId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/async/64-0/job/batch/{batchid}/result/{batchresultid}
      name: async-64-0-job-batch-batchid-result-batchresultid
      description: REST surface for async-64.0-job-batch-_batchId-result-batchResultId.
      operations:
      - method: GET
        name: bulkretrievebatchresultdata
        description: Salesforce Bulk Retrieve Batch Result Data
        call: salesforce-retrieves.bulkretrievebatchresultdata
        with:
          batchResultId: rest.batchResultId
          X-SFDC-Session: rest.X-SFDC-Session
          Accept-Encoding: rest.Accept-Encoding
          Content-Encoding: rest.Content-Encoding
          _batchId: rest._batchId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/data/v64-0/async/specifications/oas3/{schemaid}
      name: data-v64-0-async-specifications-oas3-schemaid
      description: REST surface for data-v64.0-async-specifications-oas3-schemaId.
      operations:
      - method: GET
        name: retrieveopenapischema
        description: Salesforce Retrieve Openapi Schema
        call: salesforce-retrieves.retrieveopenapischema
        with:
          schemaId: rest.schemaId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/data/v64-0/composite/sobjects/{sobject-api-name}
      name: data-v64-0-composite-sobjects-sobject-api-name
      description: REST surface for data-v64.0-composite-sobjects-SOBJECT_API_NAME.
      operations:
      - method: GET
        name: sobjectcollectionsretrieve
        description: Salesforce Sobject Collections Retrieve
        call: salesforce-retrieves.sobjectcollectionsretrieve
        with:
          ids: rest.ids
          fields: rest.fields
          SOBJECT_API_NAME: rest.SOBJECT_API_NAME
          Content-Type: rest.Content-Type
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/data/v64-0/connect/business-rules/expression-set/version/{expressionsetversionid}/dependencies
      name: data-v64-0-connect-business-rules-expression-set-version-expressionsetversionid
      description: REST surface for data-v64.0-connect-business-rules-expression-set-version-expressionSetVersionId-.
      operations:
      - method: GET
        name: retrieveexpressionsetversiondependencies
        description: Salesforce Retrieve Expression Set Version Dependencies
        call: salesforce-retrieves.retrieveexpressionsetversiondependencies
        with:
          expressionSetVersionId: rest.expressionSetVersionId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/data/v64-0/connect/business-rules/expression-set/{expressionsetid}
      name: data-v64-0-connect-business-rules-expression-set-expressionsetid
      description: REST surface for data-v64.0-connect-business-rules-expression-set-expressionSetId.
      operations:
      - method: GET
        name: expressionsetretrieve
        description: Salesforce Expression Set Retrieve
        call: salesforce-retrieves.expressionsetretrieve
        with:
          expressionSetId: rest.expressionSetId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/data/v64-0/connect/business-rules/lookup-tables
      name: data-v64-0-connect-business-rules-lookup-tables
      description: REST surface for data-v64.0-connect-business-rules-lookup-tables.
      operations:
      - method: GET
        name: retrievelookuptables
        description: Salesforce Retrieve Lookup Tables
        call: salesforce-retrieves.retrievelookuptables
        with:
          searchKey: rest.searchKey
          usageType: rest.usageType
          lookupTypes: rest.lookupTypes
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/data/v64-0/knowledgemanagement/settings
      name: data-v64-0-knowledgemanagement-settings
      description: REST surface for data-v64.0-knowledgeManagement-settings.
      operations:
      - method: GET
        name: retrieveknowledgelanguagesettings
        description: Salesforce Retrieve Knowledge Language Settings
        call: salesforce-retrieves.retrieveknowledgelanguagesettings
        with:
          Content-Type: rest.Content-Type
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/data/v64-0/sobjects/{sobject-api-name}/{record-id}/richtextimagefields/{field-name}/{content-reference-id}
      name: data-v64-0-sobjects-sobject-api-name-record-id-richtextimagefields-field-name-co
      description: REST surface for data-v64.0-sobjects-SOBJECT_API_NAME-RECORD_ID-richTextImageFields-FIELD_NAME-CO.
      operations:
      - method: GET
        name: sobjectrichtextimageretrieve
        description: Salesforce Sobject Rich Text Image Retrieve
        call: salesforce-retrieves.sobjectrichtextimageretrieve
        with:
          SOBJECT_API_NAME: rest.SOBJECT_API_NAME
          RECORD_ID: rest.RECORD_ID
          FIELD_NAME: rest.FIELD_NAME
          CONTENT_REFERENCE_ID: rest.CONTENT_REFERENCE_ID
          Content-Type: rest.Content-Type
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/data/v64-0/sobjects/{sobject-api-name}/{record-id}/{blob-field}
      name: data-v64-0-sobjects-sobject-api-name-record-id-blob-field
      description: REST surface for data-v64.0-sobjects-SOBJECT_API_NAME-RECORD_ID-BLOB_FIELD.
      operations:
      - method: GET
        name: sobjectblobretrieve
        description: Salesforce Sobject Blob Retrieve
        call: salesforce-retrieves.sobjectblobretrieve
        with:
          SOBJECT_API_NAME: rest.SOBJECT_API_NAME
          RECORD_ID: rest.RECORD_ID
          BLOB_FIELD: rest.BLOB_FIELD
          Content-Type: rest.Content-Type
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: salesforce-retrieves-mcp
    port: 9090
    transport: http
    description: MCP adapter for Salesforce — Retrieves. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: salesforce-bulk-retrieve-batch-result
      description: Salesforce Bulk Retrieve Batch Result
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: salesforce-retrieves.bulkretrievebatchresult
      with:
        X-SFDC-Session: tools.X-SFDC-Session
        Accept-Encoding: tools.Accept-Encoding
        Content-Encoding: tools.Content-Encoding
        _batchId: tools._batchId
      outputParameters:
      - type: object
        mapping: $.
    - name: salesforce-bulk-retrieve-batch-result-2
      description: Salesforce Bulk Retrieve Batch Result Data
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: salesforce-retrieves.bulkretrievebatchresultdata
      with:
        batchResultId: tools.batchResultId
        X-SFDC-Session: tools.X-SFDC-Session
        Accept-Encoding: tools.Accept-Encoding
        Content-Encoding: tools.Content-Encoding
        _batchId: tools._batchId
      outputParameters:
      - type: object
        mapping: $.
    - name: salesforce-retrieve-openapi-schema
      description: Salesforce Retrieve Openapi Schema
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: salesforce-retrieves.retrieveopenapischema
      with:
        schemaId: tools.schemaId
      outputParameters:
      - type: object
        mapping: $.
    - name: salesforce-sobject-collections-retrieve
      description: Salesforce Sobject Collections Retrieve
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: salesforce-retrieves.sobjectcollectionsretrieve
      with:
        ids: tools.ids
        fields: tools.fields
        SOBJECT_API_NAME: tools.SOBJECT_API_NAME
        Content-Type: tools.Content-Type
      outputParameters:
      - type: object
        mapping: $.
    - name: salesforce-retrieve-expression-set-version
      description: Salesforce Retrieve Expression Set Version Dependencies
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: salesforce-retrieves.retrieveexpressionsetversiondependencies
      with:
        expressionSetVersionId: tools.expressionSetVersionId
      outputParameters:
      - type: object
        mapping: $.
    - name: salesforce-expression-set-retrieve
      description: Salesforce Expression Set Retrieve
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: salesforce-retrieves.expressionsetretrieve
      with:
        expressionSetId: tools.expressionSetId
      outputParameters:
      - type: object
        mapping: $.
    - name: salesforce-retrieve-lookup-tables
      description: Salesforce Retrieve Lookup Tables
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: salesforce-retrieves.retrievelookuptables
      with:
        searchKey: tools.searchKey
        usageType: tools.usageType
        lookupTypes: tools.lookupTypes
      outputParameters:
      - type: object
        mapping: $.
    - name: salesforce-retrieve-knowledge-language-settings
      description: Salesforce Retrieve Knowledge Language Settings
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: salesforce-retrieves.retrieveknowledgelanguagesettings
      with:
        Content-Type: tools.Content-Type
      outputParameters:
      - type: object
        mapping: $.
    - name: salesforce-sobject-rich-text-image
      description: Salesforce Sobject Rich Text Image Retrieve
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: salesforce-retrieves.sobjectrichtextimageretrieve
      with:
        SOBJECT_API_NAME: tools.SOBJECT_API_NAME
        RECORD_ID: tools.RECORD_ID
        FIELD_NAME: tools.FIELD_NAME
        CONTENT_REFERENCE_ID: tools.CONTENT_REFERENCE_ID
        Content-Type: tools.Content-Type
      outputParameters:
      - type: object
        mapping: $.
    - name: salesforce-sobject-blob-retrieve
      description: Salesforce Sobject Blob Retrieve
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: salesforce-retrieves.sobjectblobretrieve
      with:
        SOBJECT_API_NAME: tools.SOBJECT_API_NAME
        RECORD_ID: tools.RECORD_ID
        BLOB_FIELD: tools.BLOB_FIELD
        Content-Type: tools.Content-Type
      outputParameters:
      - type: object
        mapping: $.