naftiko: 1.0.0-alpha2 info: label: Salesforce — View description: 'Salesforce — View. 11 operations. Lead operation: Salesforce List View Results. Self-contained Naftiko capability covering one Salesforce business surface.' tags: - Salesforce - View created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SALESFORCE_API_KEY: SALESFORCE_API_KEY capability: consumes: - type: http namespace: salesforce-view baseUri: https://login.salesforce.com description: Salesforce — View business capability. Self-contained, no shared references. resources: - name: data-v64.0-sobjects-SOBJECT_API_NAME-listviews-LIST_VIEW_ID-results path: /data/v64.0/sobjects/{SOBJECT_API_NAME}/listviews/{LIST_VIEW_ID}/results operations: - name: listviewresults method: GET description: Salesforce List View Results outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: SOBJECT_API_NAME in: path type: string required: true - name: LIST_VIEW_ID in: path type: string required: true - name: Content-Type in: header type: string required: true - name: data-v64.0-sobjects-SOBJECT_API_NAME-listviews-QUERY_LOCATOR-describe path: /data/v64.0/sobjects/{SOBJECT_API_NAME}/listviews/{QUERY_LOCATOR}/describe operations: - name: listviewdescribe method: GET description: Salesforce List View Describe outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: SOBJECT_API_NAME in: path type: string required: true - name: QUERY_LOCATOR in: path type: string required: true - name: Content-Type in: header type: string required: true - name: data-v64.0-ui-api-actions-list-view-chart-SOBJECT_API_NAME path: /data/v64.0/ui-api/actions/list-view-chart/{SOBJECT_API_NAME} operations: - name: getlistviewchartactions method: GET description: Salesforce Get List View Chart Actions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: SOBJECT_API_NAME in: path type: string description: Currently, only `ListViewChartInstance` is valid. required: true - name: data-v64.0-ui-api-actions-list-view-record-RECORD_IDS path: /data/v64.0/ui-api/actions/list-view-record/{RECORD_IDS} operations: - name: getlistviewrecordactions method: GET description: Salesforce Get List View Record Actions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: RECORD_IDS in: path type: string description: A single record ID, or a comma-delimited list of record IDs. required: true - name: data-v64.0-ui-api-actions-list-view-LIST_VIEW_IDS path: /data/v64.0/ui-api/actions/list-view/{LIST_VIEW_IDS} operations: - name: getlistviewheaderactions method: GET description: Salesforce Get List View Header Actions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: LIST_VIEW_IDS in: path type: string description: A single list view ID, or a comma-delimited list of list view IDs. required: true - name: data-v64.0-ui-api-actions-mru-list-SOBJECT_API_NAMES path: /data/v64.0/ui-api/actions/mru-list/{SOBJECT_API_NAMES} operations: - name: getmrulistviewactions method: GET description: Salesforce Get Mru List View Actions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: SOBJECT_API_NAMES in: path type: string description: An object name, or a comma-delimited list of object names. required: true - name: data-v64.0-ui-api-list-info-LIST_VIEW_ID path: /data/v64.0/ui-api/list-info/{LIST_VIEW_ID} operations: - name: getlistviewmetadatabyid method: GET description: Salesforce Get List View Metadata by Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: LIST_VIEW_ID in: path type: string description: The ID of a list view. required: true - name: data-v64.0-ui-api-list-info-SOBJECT_API_NAME-LIST_VIEW_API_NAME path: /data/v64.0/ui-api/list-info/{SOBJECT_API_NAME}/{LIST_VIEW_API_NAME} operations: - name: getlistviewmetadatabyapiname method: GET description: Salesforce Get List View Metadata by Api Name outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: SOBJECT_API_NAME in: path type: string description: API name of the UI API supported object. required: true - name: LIST_VIEW_API_NAME in: path type: string description: API name of a list view, such as AllAccounts, __Recent, or __SearchResult. required: true - name: data-v64.0-ui-api-list-records-LIST_VIEW_ID path: /data/v64.0/ui-api/list-records/{LIST_VIEW_ID} operations: - name: getlistviewrecordsbyid method: GET description: Salesforce Get List View Records by Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: LIST_VIEW_ID in: path type: string description: The ID of a list view. required: true - name: data-v64.0-ui-api-list-records-SOBJECT_API_NAME-LIST_VIEW_API_NAME path: /data/v64.0/ui-api/list-records/{SOBJECT_API_NAME}/{LIST_VIEW_API_NAME} operations: - name: getlistviewrecordsbyapiname method: GET description: Salesforce Get List View Records by Api Name outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: SOBJECT_API_NAME in: path type: string description: API name of a UI API supported object. required: true - name: LIST_VIEW_API_NAME in: path type: string description: API name of a list view, such as AllAccounts, __Recent, or __SearchResult. required: true - name: getlistviewrecords method: POST description: Salesforce Get List View Records outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: SOBJECT_API_NAME in: path type: string description: API name of the UI API supported object. required: true - name: LIST_VIEW_API_NAME in: path type: string description: API name of a list view. required: true - 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-view-rest port: 8080 description: REST adapter for Salesforce — View. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/data/v64-0/sobjects/{sobject-api-name}/listviews/{list-view-id}/results name: data-v64-0-sobjects-sobject-api-name-listviews-list-view-id-results description: REST surface for data-v64.0-sobjects-SOBJECT_API_NAME-listviews-LIST_VIEW_ID-results. operations: - method: GET name: listviewresults description: Salesforce List View Results call: salesforce-view.listviewresults with: SOBJECT_API_NAME: rest.SOBJECT_API_NAME LIST_VIEW_ID: rest.LIST_VIEW_ID Content-Type: rest.Content-Type outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/sobjects/{sobject-api-name}/listviews/{query-locator}/describe name: data-v64-0-sobjects-sobject-api-name-listviews-query-locator-describe description: REST surface for data-v64.0-sobjects-SOBJECT_API_NAME-listviews-QUERY_LOCATOR-describe. operations: - method: GET name: listviewdescribe description: Salesforce List View Describe call: salesforce-view.listviewdescribe with: SOBJECT_API_NAME: rest.SOBJECT_API_NAME QUERY_LOCATOR: rest.QUERY_LOCATOR Content-Type: rest.Content-Type outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/ui-api/actions/list-view-chart/{sobject-api-name} name: data-v64-0-ui-api-actions-list-view-chart-sobject-api-name description: REST surface for data-v64.0-ui-api-actions-list-view-chart-SOBJECT_API_NAME. operations: - method: GET name: getlistviewchartactions description: Salesforce Get List View Chart Actions call: salesforce-view.getlistviewchartactions with: SOBJECT_API_NAME: rest.SOBJECT_API_NAME outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/ui-api/actions/list-view-record/{record-ids} name: data-v64-0-ui-api-actions-list-view-record-record-ids description: REST surface for data-v64.0-ui-api-actions-list-view-record-RECORD_IDS. operations: - method: GET name: getlistviewrecordactions description: Salesforce Get List View Record Actions call: salesforce-view.getlistviewrecordactions with: RECORD_IDS: rest.RECORD_IDS outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/ui-api/actions/list-view/{list-view-ids} name: data-v64-0-ui-api-actions-list-view-list-view-ids description: REST surface for data-v64.0-ui-api-actions-list-view-LIST_VIEW_IDS. operations: - method: GET name: getlistviewheaderactions description: Salesforce Get List View Header Actions call: salesforce-view.getlistviewheaderactions with: LIST_VIEW_IDS: rest.LIST_VIEW_IDS outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/ui-api/actions/mru-list/{sobject-api-names} name: data-v64-0-ui-api-actions-mru-list-sobject-api-names description: REST surface for data-v64.0-ui-api-actions-mru-list-SOBJECT_API_NAMES. operations: - method: GET name: getmrulistviewactions description: Salesforce Get Mru List View Actions call: salesforce-view.getmrulistviewactions with: SOBJECT_API_NAMES: rest.SOBJECT_API_NAMES outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/ui-api/list-info/{list-view-id} name: data-v64-0-ui-api-list-info-list-view-id description: REST surface for data-v64.0-ui-api-list-info-LIST_VIEW_ID. operations: - method: GET name: getlistviewmetadatabyid description: Salesforce Get List View Metadata by Id call: salesforce-view.getlistviewmetadatabyid with: LIST_VIEW_ID: rest.LIST_VIEW_ID outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/ui-api/list-info/{sobject-api-name}/{list-view-api-name} name: data-v64-0-ui-api-list-info-sobject-api-name-list-view-api-name description: REST surface for data-v64.0-ui-api-list-info-SOBJECT_API_NAME-LIST_VIEW_API_NAME. operations: - method: GET name: getlistviewmetadatabyapiname description: Salesforce Get List View Metadata by Api Name call: salesforce-view.getlistviewmetadatabyapiname with: SOBJECT_API_NAME: rest.SOBJECT_API_NAME LIST_VIEW_API_NAME: rest.LIST_VIEW_API_NAME outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/ui-api/list-records/{list-view-id} name: data-v64-0-ui-api-list-records-list-view-id description: REST surface for data-v64.0-ui-api-list-records-LIST_VIEW_ID. operations: - method: GET name: getlistviewrecordsbyid description: Salesforce Get List View Records by Id call: salesforce-view.getlistviewrecordsbyid with: LIST_VIEW_ID: rest.LIST_VIEW_ID outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/ui-api/list-records/{sobject-api-name}/{list-view-api-name} name: data-v64-0-ui-api-list-records-sobject-api-name-list-view-api-name description: REST surface for data-v64.0-ui-api-list-records-SOBJECT_API_NAME-LIST_VIEW_API_NAME. operations: - method: GET name: getlistviewrecordsbyapiname description: Salesforce Get List View Records by Api Name call: salesforce-view.getlistviewrecordsbyapiname with: SOBJECT_API_NAME: rest.SOBJECT_API_NAME LIST_VIEW_API_NAME: rest.LIST_VIEW_API_NAME outputParameters: - type: object mapping: $. - method: POST name: getlistviewrecords description: Salesforce Get List View Records call: salesforce-view.getlistviewrecords with: SOBJECT_API_NAME: rest.SOBJECT_API_NAME LIST_VIEW_API_NAME: rest.LIST_VIEW_API_NAME body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: salesforce-view-mcp port: 9090 transport: http description: MCP adapter for Salesforce — View. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: salesforce-list-view-results description: Salesforce List View Results hints: readOnly: true destructive: false idempotent: true call: salesforce-view.listviewresults with: SOBJECT_API_NAME: tools.SOBJECT_API_NAME LIST_VIEW_ID: tools.LIST_VIEW_ID Content-Type: tools.Content-Type outputParameters: - type: object mapping: $. - name: salesforce-list-view-describe description: Salesforce List View Describe hints: readOnly: true destructive: false idempotent: true call: salesforce-view.listviewdescribe with: SOBJECT_API_NAME: tools.SOBJECT_API_NAME QUERY_LOCATOR: tools.QUERY_LOCATOR Content-Type: tools.Content-Type outputParameters: - type: object mapping: $. - name: salesforce-get-list-view-chart description: Salesforce Get List View Chart Actions hints: readOnly: true destructive: false idempotent: true call: salesforce-view.getlistviewchartactions with: SOBJECT_API_NAME: tools.SOBJECT_API_NAME outputParameters: - type: object mapping: $. - name: salesforce-get-list-view-record description: Salesforce Get List View Record Actions hints: readOnly: true destructive: false idempotent: true call: salesforce-view.getlistviewrecordactions with: RECORD_IDS: tools.RECORD_IDS outputParameters: - type: object mapping: $. - name: salesforce-get-list-view-header description: Salesforce Get List View Header Actions hints: readOnly: true destructive: false idempotent: true call: salesforce-view.getlistviewheaderactions with: LIST_VIEW_IDS: tools.LIST_VIEW_IDS outputParameters: - type: object mapping: $. - name: salesforce-get-mru-list-view description: Salesforce Get Mru List View Actions hints: readOnly: true destructive: false idempotent: true call: salesforce-view.getmrulistviewactions with: SOBJECT_API_NAMES: tools.SOBJECT_API_NAMES outputParameters: - type: object mapping: $. - name: salesforce-get-list-view-metadata description: Salesforce Get List View Metadata by Id hints: readOnly: true destructive: false idempotent: true call: salesforce-view.getlistviewmetadatabyid with: LIST_VIEW_ID: tools.LIST_VIEW_ID outputParameters: - type: object mapping: $. - name: salesforce-get-list-view-metadata-2 description: Salesforce Get List View Metadata by Api Name hints: readOnly: true destructive: false idempotent: true call: salesforce-view.getlistviewmetadatabyapiname with: SOBJECT_API_NAME: tools.SOBJECT_API_NAME LIST_VIEW_API_NAME: tools.LIST_VIEW_API_NAME outputParameters: - type: object mapping: $. - name: salesforce-get-list-view-records description: Salesforce Get List View Records by Id hints: readOnly: true destructive: false idempotent: true call: salesforce-view.getlistviewrecordsbyid with: LIST_VIEW_ID: tools.LIST_VIEW_ID outputParameters: - type: object mapping: $. - name: salesforce-get-list-view-records-2 description: Salesforce Get List View Records by Api Name hints: readOnly: true destructive: false idempotent: true call: salesforce-view.getlistviewrecordsbyapiname with: SOBJECT_API_NAME: tools.SOBJECT_API_NAME LIST_VIEW_API_NAME: tools.LIST_VIEW_API_NAME outputParameters: - type: object mapping: $. - name: salesforce-get-list-view-records-3 description: Salesforce Get List View Records hints: readOnly: true destructive: false idempotent: false call: salesforce-view.getlistviewrecords with: SOBJECT_API_NAME: tools.SOBJECT_API_NAME LIST_VIEW_API_NAME: tools.LIST_VIEW_API_NAME body: tools.body outputParameters: - type: object mapping: $.