naftiko: 1.0.0-alpha2 info: label: Salesforce — Values description: 'Salesforce — Values. 4 operations. Lead operation: Salesforce Get Values for All Picklist Fields of a Record Type. Self-contained Naftiko capability covering one Salesforce business surface.' tags: - Salesforce - Values created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SALESFORCE_API_KEY: SALESFORCE_API_KEY capability: consumes: - type: http namespace: salesforce-values baseUri: https://login.salesforce.com description: Salesforce — Values business capability. Self-contained, no shared references. resources: - name: data-v64.0-ui-api-object-info-SOBJECT_API_NAME-picklist-values-RECORD_TYPE_ID path: /data/v64.0/ui-api/object-info/{SOBJECT_API_NAME}/picklist-values/{RECORD_TYPE_ID} operations: - name: getvaluesforallpicklistfieldsofarecordtype method: GET description: Salesforce Get Values for All Picklist Fields of a Record Type 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: 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 - name: data-v64.0-ui-api-record-defaults-clone-RECORD_ID path: /data/v64.0/ui-api/record-defaults/clone/{RECORD_ID} operations: - name: getdefaultvaluestoclonearecord method: GET description: Salesforce Get Default Values to Clone a Record outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: RECORD_ID in: path type: string description: Record ID required: true - name: data-v64.0-ui-api-record-defaults-create-SOBJECT_API_NAME path: /data/v64.0/ui-api/record-defaults/create/{SOBJECT_API_NAME} operations: - name: getdefaultvaluestocreatearecord method: GET description: Salesforce Get Default Values to Create a Record outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: SOBJECT_API_NAME in: path type: string description: sObject API name required: true authentication: type: bearer token: '{{env.SALESFORCE_API_KEY}}' exposes: - type: rest namespace: salesforce-values-rest port: 8080 description: REST adapter for Salesforce — Values. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/data/v64-0/ui-api/object-info/{sobject-api-name}/picklist-values/{record-type-id} name: data-v64-0-ui-api-object-info-sobject-api-name-picklist-values-record-type-id description: REST surface for data-v64.0-ui-api-object-info-SOBJECT_API_NAME-picklist-values-RECORD_TYPE_ID. operations: - method: GET name: getvaluesforallpicklistfieldsofarecordtype description: Salesforce Get Values for All Picklist Fields of a Record Type call: salesforce-values.getvaluesforallpicklistfieldsofarecordtype with: SOBJECT_API_NAME: rest.SOBJECT_API_NAME RECORD_TYPE_ID: rest.RECORD_TYPE_ID 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-values.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: $. - path: /v1/data/v64-0/ui-api/record-defaults/clone/{record-id} name: data-v64-0-ui-api-record-defaults-clone-record-id description: REST surface for data-v64.0-ui-api-record-defaults-clone-RECORD_ID. operations: - method: GET name: getdefaultvaluestoclonearecord description: Salesforce Get Default Values to Clone a Record call: salesforce-values.getdefaultvaluestoclonearecord with: RECORD_ID: rest.RECORD_ID outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/ui-api/record-defaults/create/{sobject-api-name} name: data-v64-0-ui-api-record-defaults-create-sobject-api-name description: REST surface for data-v64.0-ui-api-record-defaults-create-SOBJECT_API_NAME. operations: - method: GET name: getdefaultvaluestocreatearecord description: Salesforce Get Default Values to Create a Record call: salesforce-values.getdefaultvaluestocreatearecord with: SOBJECT_API_NAME: rest.SOBJECT_API_NAME outputParameters: - type: object mapping: $. - type: mcp namespace: salesforce-values-mcp port: 9090 transport: http description: MCP adapter for Salesforce — Values. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: salesforce-get-values-all-picklist description: Salesforce Get Values for All Picklist Fields of a Record Type hints: readOnly: true destructive: false idempotent: true call: salesforce-values.getvaluesforallpicklistfieldsofarecordtype with: SOBJECT_API_NAME: tools.SOBJECT_API_NAME RECORD_TYPE_ID: tools.RECORD_TYPE_ID 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-values.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: $. - name: salesforce-get-default-values-clone description: Salesforce Get Default Values to Clone a Record hints: readOnly: true destructive: false idempotent: true call: salesforce-values.getdefaultvaluestoclonearecord with: RECORD_ID: tools.RECORD_ID outputParameters: - type: object mapping: $. - name: salesforce-get-default-values-create description: Salesforce Get Default Values to Create a Record hints: readOnly: true destructive: false idempotent: true call: salesforce-values.getdefaultvaluestocreatearecord with: SOBJECT_API_NAME: tools.SOBJECT_API_NAME outputParameters: - type: object mapping: $.