naftiko: 1.0.0-alpha2 info: label: Salesforce — Definition description: 'Salesforce — Definition. 1 operations. Lead operation: Salesforce Prediction Definition Metadata. Self-contained Naftiko capability covering one Salesforce business surface.' tags: - Salesforce - Definition created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SALESFORCE_API_KEY: SALESFORCE_API_KEY capability: consumes: - type: http namespace: salesforce-definition baseUri: https://login.salesforce.com description: Salesforce — Definition business capability. Self-contained, no shared references. resources: - name: data-v64.0-smartdatadiscovery-predictionDefinitions-PREDICTION_DEFINITION_ID path: /data/v64.0/smartdatadiscovery/predictionDefinitions/{PREDICTION_DEFINITION_ID} operations: - name: predictiondefinitionmetadata method: GET description: Salesforce Prediction Definition Metadata outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: PREDICTION_DEFINITION_ID in: path type: string required: true authentication: type: bearer token: '{{env.SALESFORCE_API_KEY}}' exposes: - type: rest namespace: salesforce-definition-rest port: 8080 description: REST adapter for Salesforce — Definition. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/data/v64-0/smartdatadiscovery/predictiondefinitions/{prediction-definition-id} name: data-v64-0-smartdatadiscovery-predictiondefinitions-prediction-definition-id description: REST surface for data-v64.0-smartdatadiscovery-predictionDefinitions-PREDICTION_DEFINITION_ID. operations: - method: GET name: predictiondefinitionmetadata description: Salesforce Prediction Definition Metadata call: salesforce-definition.predictiondefinitionmetadata with: PREDICTION_DEFINITION_ID: rest.PREDICTION_DEFINITION_ID outputParameters: - type: object mapping: $. - type: mcp namespace: salesforce-definition-mcp port: 9090 transport: http description: MCP adapter for Salesforce — Definition. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: salesforce-prediction-definition-metadata description: Salesforce Prediction Definition Metadata hints: readOnly: true destructive: false idempotent: true call: salesforce-definition.predictiondefinitionmetadata with: PREDICTION_DEFINITION_ID: tools.PREDICTION_DEFINITION_ID outputParameters: - type: object mapping: $.