Salesforce Net Zero Cloud REST API — Sustainability Goals

Salesforce Net Zero Cloud REST API — Sustainability Goals. 2 operations. Lead operation: List Sustainability Goals. Self-contained Naftiko capability covering one Salesforce Net Zero Cloud business surface.

Run with Naftiko Salesforce Net Zero CloudSustainability Goals

What You Can Do

GET
Listsustainabilitygoals — List Sustainability Goals
/v1/sobjects/sustainabilitygoal
POST
Createsustainabilitygoal — Create Sustainability Goal
/v1/sobjects/sustainabilitygoal

MCP Tools

list-sustainability-goals

List Sustainability Goals

read-only idempotent
create-sustainability-goal

Create Sustainability Goal

Capability Spec

rest-sustainability-goals.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Salesforce Net Zero Cloud REST API — Sustainability Goals
  description: 'Salesforce Net Zero Cloud REST API — Sustainability Goals. 2 operations. Lead operation: List Sustainability
    Goals. Self-contained Naftiko capability covering one Salesforce Net Zero Cloud business surface.'
  tags:
  - Salesforce Net Zero Cloud
  - Sustainability Goals
  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-sustainability-goals
    baseUri: https://{instance}.my.salesforce.com/services/data/v59.0
    description: Salesforce Net Zero Cloud REST API — Sustainability Goals business capability. Self-contained, no shared
      references.
    resources:
    - name: sobjects-SustainabilityGoal
      path: /sobjects/SustainabilityGoal
      operations:
      - name: listsustainabilitygoals
        method: GET
        description: List Sustainability Goals
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createsustainabilitygoal
        method: POST
        description: Create Sustainability Goal
        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-sustainability-goals-rest
    port: 8080
    description: REST adapter for Salesforce Net Zero Cloud REST API — Sustainability Goals. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/sobjects/sustainabilitygoal
      name: sobjects-sustainabilitygoal
      description: REST surface for sobjects-SustainabilityGoal.
      operations:
      - method: GET
        name: listsustainabilitygoals
        description: List Sustainability Goals
        call: rest-sustainability-goals.listsustainabilitygoals
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createsustainabilitygoal
        description: Create Sustainability Goal
        call: rest-sustainability-goals.createsustainabilitygoal
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-sustainability-goals-mcp
    port: 9090
    transport: http
    description: MCP adapter for Salesforce Net Zero Cloud REST API — Sustainability Goals. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: list-sustainability-goals
      description: List Sustainability Goals
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-sustainability-goals.listsustainabilitygoals
      outputParameters:
      - type: object
        mapping: $.
    - name: create-sustainability-goal
      description: Create Sustainability Goal
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: rest-sustainability-goals.createsustainabilitygoal
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.