naftiko: 1.0.0-alpha2 info: label: Salesforce — Field description: 'Salesforce — Field. 4 operations. Lead operation: Salesforce Get Lookup Field Actions. Self-contained Naftiko capability covering one Salesforce business surface.' tags: - Salesforce - Field created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SALESFORCE_API_KEY: SALESFORCE_API_KEY capability: consumes: - type: http namespace: salesforce-field baseUri: https://login.salesforce.com description: Salesforce — Field business capability. Self-contained, no shared references. resources: - name: data-v64.0-ui-api-actions-lookup-SOBJECT_API_NAMES path: /data/v64.0/ui-api/actions/lookup/{SOBJECT_API_NAMES} operations: - name: getlookupfieldactions method: GET description: Salesforce Get Lookup Field Actions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: SOBJECT_API_NAMES in: path type: string description: A lookup field name, or a comma-delimited list of lookup field names. required: true - name: data-v64.0-ui-api-lookups-SOBJECT_API_NAME-FIELD_API_NAME path: /data/v64.0/ui-api/lookups/{SOBJECT_API_NAME}/{FIELD_API_NAME} operations: - name: getlookupfieldsuggestions method: GET description: Salesforce Get Lookup Field Suggestions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: SOBJECT_API_NAME in: path type: string description: sObject API name required: true - name: FIELD_API_NAME in: path type: string description: Field API name 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-SOBJECT_API_NAME-picklist-values-RECORD_TYPE_ID-FI path: /data/v64.0/ui-api/object-info/{SOBJECT_API_NAME}/picklist-values/{RECORD_TYPE_ID}/{FIELD_API_NAME} operations: - name: getvaluesforapicklistfield method: GET description: Salesforce Get Values for a Picklist Field outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: SOBJECT_API_NAME in: path type: string description: Object API Name required: true - name: RECORD_TYPE_ID in: path type: string description: Record type Id. Use `012000000000000AAA` as default when there are no custom record types. required: true - name: FIELD_API_NAME in: path type: string description: Field API Name (optional) required: true authentication: type: bearer token: '{{env.SALESFORCE_API_KEY}}' exposes: - type: rest namespace: salesforce-field-rest port: 8080 description: REST adapter for Salesforce — Field. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/data/v64-0/ui-api/actions/lookup/{sobject-api-names} name: data-v64-0-ui-api-actions-lookup-sobject-api-names description: REST surface for data-v64.0-ui-api-actions-lookup-SOBJECT_API_NAMES. operations: - method: GET name: getlookupfieldactions description: Salesforce Get Lookup Field Actions call: salesforce-field.getlookupfieldactions with: SOBJECT_API_NAMES: rest.SOBJECT_API_NAMES outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/ui-api/lookups/{sobject-api-name}/{field-api-name} name: data-v64-0-ui-api-lookups-sobject-api-name-field-api-name description: REST surface for data-v64.0-ui-api-lookups-SOBJECT_API_NAME-FIELD_API_NAME. operations: - method: GET name: getlookupfieldsuggestions description: Salesforce Get Lookup Field Suggestions call: salesforce-field.getlookupfieldsuggestions with: SOBJECT_API_NAME: rest.SOBJECT_API_NAME FIELD_API_NAME: rest.FIELD_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-field.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/{sobject-api-name}/picklist-values/{record-type-id}/{field-api-name} name: data-v64-0-ui-api-object-info-sobject-api-name-picklist-values-record-type-id-fi description: REST surface for data-v64.0-ui-api-object-info-SOBJECT_API_NAME-picklist-values-RECORD_TYPE_ID-FI. operations: - method: GET name: getvaluesforapicklistfield description: Salesforce Get Values for a Picklist Field call: salesforce-field.getvaluesforapicklistfield with: SOBJECT_API_NAME: rest.SOBJECT_API_NAME RECORD_TYPE_ID: rest.RECORD_TYPE_ID FIELD_API_NAME: rest.FIELD_API_NAME outputParameters: - type: object mapping: $. - type: mcp namespace: salesforce-field-mcp port: 9090 transport: http description: MCP adapter for Salesforce — Field. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: salesforce-get-lookup-field-actions description: Salesforce Get Lookup Field Actions hints: readOnly: true destructive: false idempotent: true call: salesforce-field.getlookupfieldactions with: SOBJECT_API_NAMES: tools.SOBJECT_API_NAMES outputParameters: - type: object mapping: $. - name: salesforce-get-lookup-field-suggestions description: Salesforce Get Lookup Field Suggestions hints: readOnly: true destructive: false idempotent: true call: salesforce-field.getlookupfieldsuggestions with: SOBJECT_API_NAME: tools.SOBJECT_API_NAME FIELD_API_NAME: tools.FIELD_API_NAME outputParameters: - type: object mapping: $. - name: salesforce-get-lookup-field-suggestions-2 description: Salesforce Get Lookup Field Suggestions for a Specified Object hints: readOnly: true destructive: false idempotent: true call: salesforce-field.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-values-picklist-field description: Salesforce Get Values for a Picklist Field hints: readOnly: true destructive: false idempotent: true call: salesforce-field.getvaluesforapicklistfield with: SOBJECT_API_NAME: tools.SOBJECT_API_NAME RECORD_TYPE_ID: tools.RECORD_TYPE_ID FIELD_API_NAME: tools.FIELD_API_NAME outputParameters: - type: object mapping: $.