naftiko: 1.0.0-alpha2 info: label: Salesforce — Global description: 'Salesforce — Global. 3 operations. Lead operation: Salesforce Describe Global. Self-contained Naftiko capability covering one Salesforce business surface.' tags: - Salesforce - Global created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SALESFORCE_API_KEY: SALESFORCE_API_KEY capability: consumes: - type: http namespace: salesforce-global baseUri: https://login.salesforce.com description: Salesforce — Global business capability. Self-contained, no shared references. resources: - name: data-v64.0-sobjects path: /data/v64.0/sobjects operations: - name: describeglobal method: GET description: Salesforce Describe Global outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Content-Type in: header type: string required: true - name: data-v64.0-sobjects-Global-describe-layouts path: /data/v64.0/sobjects/Global/describe/layouts operations: - name: describegloballayouts method: GET description: Salesforce Describe Global Layouts outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Content-Type in: header type: string required: true - name: data-v64.0-ui-api-actions-global path: /data/v64.0/ui-api/actions/global operations: - name: getglobalactions method: GET description: Salesforce Get Global Actions outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.SALESFORCE_API_KEY}}' exposes: - type: rest namespace: salesforce-global-rest port: 8080 description: REST adapter for Salesforce — Global. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/data/v64-0/sobjects name: data-v64-0-sobjects description: REST surface for data-v64.0-sobjects. operations: - method: GET name: describeglobal description: Salesforce Describe Global call: salesforce-global.describeglobal with: Content-Type: rest.Content-Type outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/sobjects/global/describe/layouts name: data-v64-0-sobjects-global-describe-layouts description: REST surface for data-v64.0-sobjects-Global-describe-layouts. operations: - method: GET name: describegloballayouts description: Salesforce Describe Global Layouts call: salesforce-global.describegloballayouts with: Content-Type: rest.Content-Type outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/ui-api/actions/global name: data-v64-0-ui-api-actions-global description: REST surface for data-v64.0-ui-api-actions-global. operations: - method: GET name: getglobalactions description: Salesforce Get Global Actions call: salesforce-global.getglobalactions outputParameters: - type: object mapping: $. - type: mcp namespace: salesforce-global-mcp port: 9090 transport: http description: MCP adapter for Salesforce — Global. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: salesforce-describe-global description: Salesforce Describe Global hints: readOnly: true destructive: false idempotent: true call: salesforce-global.describeglobal with: Content-Type: tools.Content-Type outputParameters: - type: object mapping: $. - name: salesforce-describe-global-layouts description: Salesforce Describe Global Layouts hints: readOnly: true destructive: false idempotent: true call: salesforce-global.describegloballayouts with: Content-Type: tools.Content-Type outputParameters: - type: object mapping: $. - name: salesforce-get-global-actions description: Salesforce Get Global Actions hints: readOnly: true destructive: false idempotent: true call: salesforce-global.getglobalactions outputParameters: - type: object mapping: $.