naftiko: 1.0.0-alpha2 info: label: Salesforce — Sandbox description: 'Salesforce — Sandbox. 4 operations. Lead operation: Salesforce Create/clone Sandbox. Self-contained Naftiko capability covering one Salesforce business surface.' tags: - Salesforce - Sandbox created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SALESFORCE_API_KEY: SALESFORCE_API_KEY capability: consumes: - type: http namespace: salesforce-sandbox baseUri: https://login.salesforce.com description: Salesforce — Sandbox business capability. Self-contained, no shared references. resources: - name: data-v64.0-tooling-sobjects-SandboxInfo path: /data/v64.0/tooling/sobjects/SandboxInfo operations: - name: createclonesandbox method: POST description: Salesforce Create/clone Sandbox outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: data-v64.0-tooling-sobjects-SandboxInfo-SANDBOX_INFO_ID path: /data/v64.0/tooling/sobjects/SandboxInfo/{SANDBOX_INFO_ID} operations: - name: getsandbox method: GET description: Salesforce Get Sandbox outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: SANDBOX_INFO_ID in: path type: string required: true - name: refreshsandbox method: PATCH description: Salesforce Refresh Sandbox outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: SANDBOX_INFO_ID in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deletesandbox method: DELETE description: Salesforce Delete Sandbox outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: SANDBOX_INFO_ID in: path type: string required: true authentication: type: bearer token: '{{env.SALESFORCE_API_KEY}}' exposes: - type: rest namespace: salesforce-sandbox-rest port: 8080 description: REST adapter for Salesforce — Sandbox. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/data/v64-0/tooling/sobjects/sandboxinfo name: data-v64-0-tooling-sobjects-sandboxinfo description: REST surface for data-v64.0-tooling-sobjects-SandboxInfo. operations: - method: POST name: createclonesandbox description: Salesforce Create/clone Sandbox call: salesforce-sandbox.createclonesandbox with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/tooling/sobjects/sandboxinfo/{sandbox-info-id} name: data-v64-0-tooling-sobjects-sandboxinfo-sandbox-info-id description: REST surface for data-v64.0-tooling-sobjects-SandboxInfo-SANDBOX_INFO_ID. operations: - method: GET name: getsandbox description: Salesforce Get Sandbox call: salesforce-sandbox.getsandbox with: SANDBOX_INFO_ID: rest.SANDBOX_INFO_ID outputParameters: - type: object mapping: $. - method: PATCH name: refreshsandbox description: Salesforce Refresh Sandbox call: salesforce-sandbox.refreshsandbox with: SANDBOX_INFO_ID: rest.SANDBOX_INFO_ID body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletesandbox description: Salesforce Delete Sandbox call: salesforce-sandbox.deletesandbox with: SANDBOX_INFO_ID: rest.SANDBOX_INFO_ID outputParameters: - type: object mapping: $. - type: mcp namespace: salesforce-sandbox-mcp port: 9090 transport: http description: MCP adapter for Salesforce — Sandbox. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: salesforce-create-clone-sandbox description: Salesforce Create/clone Sandbox hints: readOnly: false destructive: false idempotent: false call: salesforce-sandbox.createclonesandbox with: body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-get-sandbox description: Salesforce Get Sandbox hints: readOnly: true destructive: false idempotent: true call: salesforce-sandbox.getsandbox with: SANDBOX_INFO_ID: tools.SANDBOX_INFO_ID outputParameters: - type: object mapping: $. - name: salesforce-refresh-sandbox description: Salesforce Refresh Sandbox hints: readOnly: false destructive: false idempotent: true call: salesforce-sandbox.refreshsandbox with: SANDBOX_INFO_ID: tools.SANDBOX_INFO_ID body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-delete-sandbox description: Salesforce Delete Sandbox hints: readOnly: false destructive: true idempotent: true call: salesforce-sandbox.deletesandbox with: SANDBOX_INFO_ID: tools.SANDBOX_INFO_ID outputParameters: - type: object mapping: $.