naftiko: 1.0.0-alpha2 info: label: Salesforce Invocable Actions API — Custom Actions description: 'Salesforce Invocable Actions API — Custom Actions. 3 operations. Lead operation: List custom invocable actions. Self-contained Naftiko capability covering one Salesforce Automation business surface.' tags: - Salesforce Automation - Custom Actions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SALESFORCE_AUTOMATION_API_KEY: SALESFORCE_AUTOMATION_API_KEY capability: consumes: - type: http namespace: salesforce-invocable-actions-custom-actions baseUri: https://{instance}.salesforce.com/services/data/v63.0 description: Salesforce Invocable Actions API — Custom Actions business capability. Self-contained, no shared references. resources: - name: actions-custom path: /actions/custom operations: - name: getcustomactions method: GET description: List custom invocable actions outputRawFormat: json outputParameters: - name: result type: object value: $. - name: actions-custom-actionName path: /actions/custom/{actionName} operations: - name: describecustomaction method: GET description: Describe a custom action outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: actionName in: path type: string description: The API name of the custom action required: true - name: invokecustomaction method: POST description: Invoke a custom action outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: actionName in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.SALESFORCE_AUTOMATION_API_KEY}}' exposes: - type: rest namespace: salesforce-invocable-actions-custom-actions-rest port: 8080 description: REST adapter for Salesforce Invocable Actions API — Custom Actions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/actions/custom name: actions-custom description: REST surface for actions-custom. operations: - method: GET name: getcustomactions description: List custom invocable actions call: salesforce-invocable-actions-custom-actions.getcustomactions outputParameters: - type: object mapping: $. - path: /v1/actions/custom/{actionname} name: actions-custom-actionname description: REST surface for actions-custom-actionName. operations: - method: GET name: describecustomaction description: Describe a custom action call: salesforce-invocable-actions-custom-actions.describecustomaction with: actionName: rest.actionName outputParameters: - type: object mapping: $. - method: POST name: invokecustomaction description: Invoke a custom action call: salesforce-invocable-actions-custom-actions.invokecustomaction with: actionName: rest.actionName body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: salesforce-invocable-actions-custom-actions-mcp port: 9090 transport: http description: MCP adapter for Salesforce Invocable Actions API — Custom Actions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-custom-invocable-actions description: List custom invocable actions hints: readOnly: true destructive: false idempotent: true call: salesforce-invocable-actions-custom-actions.getcustomactions outputParameters: - type: object mapping: $. - name: describe-custom-action description: Describe a custom action hints: readOnly: true destructive: false idempotent: true call: salesforce-invocable-actions-custom-actions.describecustomaction with: actionName: tools.actionName outputParameters: - type: object mapping: $. - name: invoke-custom-action description: Invoke a custom action hints: readOnly: false destructive: false idempotent: false call: salesforce-invocable-actions-custom-actions.invokecustomaction with: actionName: tools.actionName body: tools.body outputParameters: - type: object mapping: $.