naftiko: 1.0.0-alpha2 info: label: Salesforce Net Zero Cloud REST API — Water Usage description: 'Salesforce Net Zero Cloud REST API — Water Usage. 2 operations. Lead operation: List Water Withdrawal Records. Self-contained Naftiko capability covering one Salesforce Net Zero Cloud business surface.' tags: - Salesforce Net Zero Cloud - Water Usage created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SALESFORCE_NET_ZERO_CLOUD_API_KEY: SALESFORCE_NET_ZERO_CLOUD_API_KEY capability: consumes: - type: http namespace: rest-water-usage baseUri: https://{instance}.my.salesforce.com/services/data/v59.0 description: Salesforce Net Zero Cloud REST API — Water Usage business capability. Self-contained, no shared references. resources: - name: sobjects-WaterWithdrawal path: /sobjects/WaterWithdrawal operations: - name: listwaterwithdrawalrecords method: GET description: List Water Withdrawal Records outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createwaterwithdrawalrecord method: POST description: Create Water Withdrawal Record outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.SALESFORCE_NET_ZERO_CLOUD_API_KEY}}' exposes: - type: rest namespace: rest-water-usage-rest port: 8080 description: REST adapter for Salesforce Net Zero Cloud REST API — Water Usage. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/sobjects/waterwithdrawal name: sobjects-waterwithdrawal description: REST surface for sobjects-WaterWithdrawal. operations: - method: GET name: listwaterwithdrawalrecords description: List Water Withdrawal Records call: rest-water-usage.listwaterwithdrawalrecords outputParameters: - type: object mapping: $. - method: POST name: createwaterwithdrawalrecord description: Create Water Withdrawal Record call: rest-water-usage.createwaterwithdrawalrecord with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: rest-water-usage-mcp port: 9090 transport: http description: MCP adapter for Salesforce Net Zero Cloud REST API — Water Usage. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-water-withdrawal-records description: List Water Withdrawal Records hints: readOnly: true destructive: false idempotent: true call: rest-water-usage.listwaterwithdrawalrecords outputParameters: - type: object mapping: $. - name: create-water-withdrawal-record description: Create Water Withdrawal Record hints: readOnly: false destructive: false idempotent: false call: rest-water-usage.createwaterwithdrawalrecord with: body: tools.body outputParameters: - type: object mapping: $.