naftiko: 1.0.0-alpha2 info: label: Salesforce — Objects description: 'Salesforce — Objects. 5 operations. Lead operation: Salesforce Get List Views for an Object. Self-contained Naftiko capability covering one Salesforce business surface.' tags: - Salesforce - Objects created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SALESFORCE_API_KEY: SALESFORCE_API_KEY capability: consumes: - type: http namespace: salesforce-objects baseUri: https://login.salesforce.com description: Salesforce — Objects business capability. Self-contained, no shared references. resources: - name: data-v64.0-ui-api-list-info-SOBJECT_API_NAME path: /data/v64.0/ui-api/list-info/{SOBJECT_API_NAME} operations: - name: getlistviewsforanobject method: GET description: Salesforce Get List Views for an Object 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: data-v64.0-ui-api-lookups-SOBJECT_API_NAME-FIELD_API_NAME-TARGET_API_NAME path: /data/v64.0/ui-api/lookups/{SOBJECT_API_NAME}/{FIELD_API_NAME}/{TARGET_API_NAME} operations: - name: getlookupfieldsuggestionsforaspecifiedobject method: GET description: Salesforce Get Lookup Field Suggestions for a Specified Object outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: SOBJECT_API_NAME in: path type: string description: The API name of a source object. required: true - name: FIELD_API_NAME in: path type: string description: The API name of a lookup field on the source object. required: true - name: TARGET_API_NAME in: path type: string description: The API name of the target (lookup) object. required: true - name: data-v64.0-ui-api-object-info path: /data/v64.0/ui-api/object-info operations: - name: getadirectoryofsupportedobjects method: GET description: Salesforce Get a Directory of Supported Objects outputRawFormat: json outputParameters: - name: result type: object value: $. - name: data-v64.0-ui-api-object-info-SOBJECT_API_NAME path: /data/v64.0/ui-api/object-info/{SOBJECT_API_NAME} operations: - name: getobjectmetadata method: GET description: Salesforce Get Object Metadata outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: SOBJECT_API_NAME in: path type: string required: true - name: data-v64.0-ui-api-record-ui-RECORD_IDS path: /data/v64.0/ui-api/record-ui/{RECORD_IDS} operations: - name: getrecorddataandobjectmetadata method: GET description: Salesforce Get Record Data and Object Metadata outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: RECORD_IDS in: path type: string description: Comma-separated list of record IDs required: true authentication: type: bearer token: '{{env.SALESFORCE_API_KEY}}' exposes: - type: rest namespace: salesforce-objects-rest port: 8080 description: REST adapter for Salesforce — Objects. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/data/v64-0/ui-api/list-info/{sobject-api-name} name: data-v64-0-ui-api-list-info-sobject-api-name description: REST surface for data-v64.0-ui-api-list-info-SOBJECT_API_NAME. operations: - method: GET name: getlistviewsforanobject description: Salesforce Get List Views for an Object call: salesforce-objects.getlistviewsforanobject with: SOBJECT_API_NAME: rest.SOBJECT_API_NAME outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/ui-api/lookups/{sobject-api-name}/{field-api-name}/{target-api-name} name: data-v64-0-ui-api-lookups-sobject-api-name-field-api-name-target-api-name description: REST surface for data-v64.0-ui-api-lookups-SOBJECT_API_NAME-FIELD_API_NAME-TARGET_API_NAME. operations: - method: GET name: getlookupfieldsuggestionsforaspecifiedobject description: Salesforce Get Lookup Field Suggestions for a Specified Object call: salesforce-objects.getlookupfieldsuggestionsforaspecifiedobject with: SOBJECT_API_NAME: rest.SOBJECT_API_NAME FIELD_API_NAME: rest.FIELD_API_NAME TARGET_API_NAME: rest.TARGET_API_NAME outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/ui-api/object-info name: data-v64-0-ui-api-object-info description: REST surface for data-v64.0-ui-api-object-info. operations: - method: GET name: getadirectoryofsupportedobjects description: Salesforce Get a Directory of Supported Objects call: salesforce-objects.getadirectoryofsupportedobjects outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/ui-api/object-info/{sobject-api-name} name: data-v64-0-ui-api-object-info-sobject-api-name description: REST surface for data-v64.0-ui-api-object-info-SOBJECT_API_NAME. operations: - method: GET name: getobjectmetadata description: Salesforce Get Object Metadata call: salesforce-objects.getobjectmetadata with: SOBJECT_API_NAME: rest.SOBJECT_API_NAME outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/ui-api/record-ui/{record-ids} name: data-v64-0-ui-api-record-ui-record-ids description: REST surface for data-v64.0-ui-api-record-ui-RECORD_IDS. operations: - method: GET name: getrecorddataandobjectmetadata description: Salesforce Get Record Data and Object Metadata call: salesforce-objects.getrecorddataandobjectmetadata with: RECORD_IDS: rest.RECORD_IDS outputParameters: - type: object mapping: $. - type: mcp namespace: salesforce-objects-mcp port: 9090 transport: http description: MCP adapter for Salesforce — Objects. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: salesforce-get-list-views-object description: Salesforce Get List Views for an Object hints: readOnly: true destructive: false idempotent: true call: salesforce-objects.getlistviewsforanobject with: SOBJECT_API_NAME: tools.SOBJECT_API_NAME outputParameters: - type: object mapping: $. - name: salesforce-get-lookup-field-suggestions description: Salesforce Get Lookup Field Suggestions for a Specified Object hints: readOnly: true destructive: false idempotent: true call: salesforce-objects.getlookupfieldsuggestionsforaspecifiedobject with: SOBJECT_API_NAME: tools.SOBJECT_API_NAME FIELD_API_NAME: tools.FIELD_API_NAME TARGET_API_NAME: tools.TARGET_API_NAME outputParameters: - type: object mapping: $. - name: salesforce-get-directory-supported-objects description: Salesforce Get a Directory of Supported Objects hints: readOnly: true destructive: false idempotent: true call: salesforce-objects.getadirectoryofsupportedobjects outputParameters: - type: object mapping: $. - name: salesforce-get-object-metadata description: Salesforce Get Object Metadata hints: readOnly: true destructive: false idempotent: true call: salesforce-objects.getobjectmetadata with: SOBJECT_API_NAME: tools.SOBJECT_API_NAME outputParameters: - type: object mapping: $. - name: salesforce-get-record-data-and description: Salesforce Get Record Data and Object Metadata hints: readOnly: true destructive: false idempotent: true call: salesforce-objects.getrecorddataandobjectmetadata with: RECORD_IDS: tools.RECORD_IDS outputParameters: - type: object mapping: $.