naftiko: 1.0.0-alpha2 info: label: Salesforce — Rows description: 'Salesforce — Rows. 4 operations. Lead operation: Salesforce Sobject Rows by External Id. Self-contained Naftiko capability covering one Salesforce business surface.' tags: - Salesforce - Rows created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SALESFORCE_API_KEY: SALESFORCE_API_KEY capability: consumes: - type: http namespace: salesforce-rows baseUri: https://login.salesforce.com description: Salesforce — Rows business capability. Self-contained, no shared references. resources: - name: data-v64.0-sobjects-SOBJECT_API_NAME-FIELD_NAME-FIELD_VALUE path: /data/v64.0/sobjects/{SOBJECT_API_NAME}/{FIELD_NAME}/{FIELD_VALUE} operations: - name: sobjectrowsbyexternalid method: GET description: Salesforce Sobject Rows by External Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: SOBJECT_API_NAME in: path type: string required: true - name: FIELD_NAME in: path type: string required: true - name: FIELD_VALUE in: path type: string required: true - name: Content-Type in: header type: string required: true - name: data-v64.0-sobjects-SOBJECT_API_NAME-RECORD_ID path: /data/v64.0/sobjects/{SOBJECT_API_NAME}/{RECORD_ID} operations: - name: sobjectrows method: GET description: Salesforce Sobject Rows outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: SOBJECT_API_NAME in: path type: string required: true - name: RECORD_ID in: path type: string required: true - name: Content-Type in: header type: string required: true - name: sobjectrowsupdate method: PATCH description: Salesforce Sobject Rows Update outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: SOBJECT_API_NAME in: path type: string required: true - name: RECORD_ID in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: sobjectrowsdelete method: DELETE description: Salesforce Sobject Rows Delete outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: SOBJECT_API_NAME in: path type: string required: true - name: RECORD_ID in: path type: string required: true - name: Content-Type in: header type: string required: true authentication: type: bearer token: '{{env.SALESFORCE_API_KEY}}' exposes: - type: rest namespace: salesforce-rows-rest port: 8080 description: REST adapter for Salesforce — Rows. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/data/v64-0/sobjects/{sobject-api-name}/{field-name}/{field-value} name: data-v64-0-sobjects-sobject-api-name-field-name-field-value description: REST surface for data-v64.0-sobjects-SOBJECT_API_NAME-FIELD_NAME-FIELD_VALUE. operations: - method: GET name: sobjectrowsbyexternalid description: Salesforce Sobject Rows by External Id call: salesforce-rows.sobjectrowsbyexternalid with: SOBJECT_API_NAME: rest.SOBJECT_API_NAME FIELD_NAME: rest.FIELD_NAME FIELD_VALUE: rest.FIELD_VALUE Content-Type: rest.Content-Type outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/sobjects/{sobject-api-name}/{record-id} name: data-v64-0-sobjects-sobject-api-name-record-id description: REST surface for data-v64.0-sobjects-SOBJECT_API_NAME-RECORD_ID. operations: - method: GET name: sobjectrows description: Salesforce Sobject Rows call: salesforce-rows.sobjectrows with: SOBJECT_API_NAME: rest.SOBJECT_API_NAME RECORD_ID: rest.RECORD_ID Content-Type: rest.Content-Type outputParameters: - type: object mapping: $. - method: PATCH name: sobjectrowsupdate description: Salesforce Sobject Rows Update call: salesforce-rows.sobjectrowsupdate with: SOBJECT_API_NAME: rest.SOBJECT_API_NAME RECORD_ID: rest.RECORD_ID body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: sobjectrowsdelete description: Salesforce Sobject Rows Delete call: salesforce-rows.sobjectrowsdelete with: SOBJECT_API_NAME: rest.SOBJECT_API_NAME RECORD_ID: rest.RECORD_ID Content-Type: rest.Content-Type outputParameters: - type: object mapping: $. - type: mcp namespace: salesforce-rows-mcp port: 9090 transport: http description: MCP adapter for Salesforce — Rows. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: salesforce-sobject-rows-external-id description: Salesforce Sobject Rows by External Id hints: readOnly: true destructive: false idempotent: true call: salesforce-rows.sobjectrowsbyexternalid with: SOBJECT_API_NAME: tools.SOBJECT_API_NAME FIELD_NAME: tools.FIELD_NAME FIELD_VALUE: tools.FIELD_VALUE Content-Type: tools.Content-Type outputParameters: - type: object mapping: $. - name: salesforce-sobject-rows description: Salesforce Sobject Rows hints: readOnly: true destructive: false idempotent: true call: salesforce-rows.sobjectrows with: SOBJECT_API_NAME: tools.SOBJECT_API_NAME RECORD_ID: tools.RECORD_ID Content-Type: tools.Content-Type outputParameters: - type: object mapping: $. - name: salesforce-sobject-rows-update description: Salesforce Sobject Rows Update hints: readOnly: false destructive: false idempotent: true call: salesforce-rows.sobjectrowsupdate with: SOBJECT_API_NAME: tools.SOBJECT_API_NAME RECORD_ID: tools.RECORD_ID body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-sobject-rows-delete description: Salesforce Sobject Rows Delete hints: readOnly: false destructive: true idempotent: true call: salesforce-rows.sobjectrowsdelete with: SOBJECT_API_NAME: tools.SOBJECT_API_NAME RECORD_ID: tools.RECORD_ID Content-Type: tools.Content-Type outputParameters: - type: object mapping: $.