naftiko: 1.0.0-alpha2 info: label: Salesforce REST API — Search description: 'Salesforce REST API — Search. 1 operations. Lead operation: Salesforce Execute a Sosl Search. Self-contained Naftiko capability covering one Salesforce business surface.' tags: - Salesforce - Search created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SALESFORCE_API_KEY: SALESFORCE_API_KEY capability: consumes: - type: http namespace: rest-search baseUri: https://{instance}.salesforce.com/services/data/v{version} description: Salesforce REST API — Search business capability. Self-contained, no shared references. resources: - name: search path: /search operations: - name: executesearch method: GET description: Salesforce Execute a Sosl Search outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: q in: query type: string description: The SOSL search string to execute. Must include a FIND clause and optionally IN, RETURNING, and WITH clauses. required: true authentication: type: bearer token: '{{env.SALESFORCE_API_KEY}}' exposes: - type: rest namespace: rest-search-rest port: 8080 description: REST adapter for Salesforce REST API — Search. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/search name: search description: REST surface for search. operations: - method: GET name: executesearch description: Salesforce Execute a Sosl Search call: rest-search.executesearch with: q: rest.q outputParameters: - type: object mapping: $. - type: mcp namespace: rest-search-mcp port: 9090 transport: http description: MCP adapter for Salesforce REST API — Search. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: salesforce-execute-sosl-search description: Salesforce Execute a Sosl Search hints: readOnly: true destructive: false idempotent: true call: rest-search.executesearch with: q: tools.q outputParameters: - type: object mapping: $.