naftiko: 1.0.0-alpha2 info: label: Salesforce — Identifiers description: 'Salesforce — Identifiers. 6 operations. Lead operation: Salesforce Id Token. Self-contained Naftiko capability covering one Salesforce business surface.' tags: - Salesforce - Identifiers created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SALESFORCE_API_KEY: SALESFORCE_API_KEY capability: consumes: - type: http namespace: salesforce-identifiers baseUri: https://login.salesforce.com description: Salesforce — Identifiers business capability. Self-contained, no shared references. resources: - name: root path: // operations: - name: idtoken method: GET description: Salesforce Id Token outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Content-Type in: header type: string required: true - name: data-v64.0-event-eventSchema-SCHEMA_ID path: /data/v64.0/event/eventSchema/{SCHEMA_ID} operations: - name: platformeventschemabyschemaid method: GET description: Salesforce Platform Event Schema by Schema Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: SCHEMA_ID in: path type: string required: true - name: Content-Type in: header type: string required: true - name: data-v64.0-sobjects-SOBJECT_API_NAME-FIELD_NAME-FIELD_VALUE path: /data/v64.0/sobjects/{SOBJECT_API_NAME}/{FIELD_NAME}/{FIELD_VALUE} operations: - name: sobjectrowsbyexternalid method: GET description: Salesforce Sobject Rows by External Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: SOBJECT_API_NAME in: path type: string required: true - name: FIELD_NAME in: path type: string required: true - name: FIELD_VALUE in: path type: string required: true - name: Content-Type in: header type: string required: true - name: data-v64.0-tooling-sobjects-ManagedEventSubscription-managedEventSubscriptionId path: /data/v64.0/tooling/sobjects/ManagedEventSubscription/{managedEventSubscriptionId} operations: - name: getmanagedeventsubscriptionbyid method: GET description: Salesforce Get Managed Event Subscription by Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: managedEventSubscriptionId in: path type: string 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-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 authentication: type: bearer token: '{{env.SALESFORCE_API_KEY}}' exposes: - type: rest namespace: salesforce-identifiers-rest port: 8080 description: REST adapter for Salesforce — Identifiers. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1 name: root description: REST surface for root. operations: - method: GET name: idtoken description: Salesforce Id Token call: salesforce-identifiers.idtoken with: Content-Type: rest.Content-Type outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/event/eventschema/{schema-id} name: data-v64-0-event-eventschema-schema-id description: REST surface for data-v64.0-event-eventSchema-SCHEMA_ID. operations: - method: GET name: platformeventschemabyschemaid description: Salesforce Platform Event Schema by Schema Id call: salesforce-identifiers.platformeventschemabyschemaid with: SCHEMA_ID: rest.SCHEMA_ID Content-Type: rest.Content-Type outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/sobjects/{sobject-api-name}/{field-name}/{field-value} name: data-v64-0-sobjects-sobject-api-name-field-name-field-value description: REST surface for data-v64.0-sobjects-SOBJECT_API_NAME-FIELD_NAME-FIELD_VALUE. operations: - method: GET name: sobjectrowsbyexternalid description: Salesforce Sobject Rows by External Id call: salesforce-identifiers.sobjectrowsbyexternalid with: SOBJECT_API_NAME: rest.SOBJECT_API_NAME FIELD_NAME: rest.FIELD_NAME FIELD_VALUE: rest.FIELD_VALUE Content-Type: rest.Content-Type outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/tooling/sobjects/managedeventsubscription/{managedeventsubscriptionid} name: data-v64-0-tooling-sobjects-managedeventsubscription-managedeventsubscriptionid description: REST surface for data-v64.0-tooling-sobjects-ManagedEventSubscription-managedEventSubscriptionId. operations: - method: GET name: getmanagedeventsubscriptionbyid description: Salesforce Get Managed Event Subscription by Id call: salesforce-identifiers.getmanagedeventsubscriptionbyid with: managedEventSubscriptionId: rest.managedEventSubscriptionId 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-identifiers.getlistviewmetadatabyid with: LIST_VIEW_ID: rest.LIST_VIEW_ID 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-identifiers.getlistviewrecordsbyid with: LIST_VIEW_ID: rest.LIST_VIEW_ID outputParameters: - type: object mapping: $. - type: mcp namespace: salesforce-identifiers-mcp port: 9090 transport: http description: MCP adapter for Salesforce — Identifiers. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: salesforce-id-token description: Salesforce Id Token hints: readOnly: true destructive: false idempotent: true call: salesforce-identifiers.idtoken with: Content-Type: tools.Content-Type outputParameters: - type: object mapping: $. - name: salesforce-platform-event-schema-schema description: Salesforce Platform Event Schema by Schema Id hints: readOnly: true destructive: false idempotent: true call: salesforce-identifiers.platformeventschemabyschemaid with: SCHEMA_ID: tools.SCHEMA_ID Content-Type: tools.Content-Type outputParameters: - type: object mapping: $. - name: salesforce-sobject-rows-external-id description: Salesforce Sobject Rows by External Id hints: readOnly: true destructive: false idempotent: true call: salesforce-identifiers.sobjectrowsbyexternalid with: SOBJECT_API_NAME: tools.SOBJECT_API_NAME FIELD_NAME: tools.FIELD_NAME FIELD_VALUE: tools.FIELD_VALUE Content-Type: tools.Content-Type outputParameters: - type: object mapping: $. - name: salesforce-get-managed-event-subscription description: Salesforce Get Managed Event Subscription by Id hints: readOnly: true destructive: false idempotent: true call: salesforce-identifiers.getmanagedeventsubscriptionbyid with: managedEventSubscriptionId: tools.managedEventSubscriptionId 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-identifiers.getlistviewmetadatabyid with: LIST_VIEW_ID: tools.LIST_VIEW_ID 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-identifiers.getlistviewrecordsbyid with: LIST_VIEW_ID: tools.LIST_VIEW_ID outputParameters: - type: object mapping: $.