Unified.to · Capability

Unified.to API — environment

Unified.to API — environment. 3 operations. Lead operation: Returns all environments. Self-contained Naftiko capability covering one Unified To business surface.

Run with Naftiko Unified Toenvironment

What You Can Do

GET
Listunifiedenvironments — Returns all environments
/v1/unified/environment
POST
Createunifiedenvironment — Create new environments
/v1/unified/environment
DELETE
Removeunifiedenvironment — Remove an environment
/v1/unified/environment/{env}

MCP Tools

returns-all-environments

Returns all environments

read-only idempotent
create-new-environments

Create new environments

remove-environment

Remove an environment

idempotent

Capability Spec

unified-core-environment.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Unified.to  API — environment
  description: 'Unified.to  API — environment. 3 operations. Lead operation: Returns all environments. Self-contained Naftiko
    capability covering one Unified To business surface.'
  tags:
  - Unified To
  - environment
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    UNIFIED_TO_API_KEY: UNIFIED_TO_API_KEY
capability:
  consumes:
  - type: http
    namespace: unified-core-environment
    baseUri: https://api.unified.to
    description: Unified.to  API — environment business capability. Self-contained, no shared references.
    resources:
    - name: unified-environment
      path: /unified/environment
      operations:
      - name: listunifiedenvironments
        method: GET
        description: Returns all environments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createunifiedenvironment
        method: POST
        description: Create new environments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: unified-environment-env
      path: /unified/environment/{env}
      operations:
      - name: removeunifiedenvironment
        method: DELETE
        description: Remove an environment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: env
          in: path
          type: string
          required: true
    authentication:
      type: apikey
      key: authorization
      value: '{{env.UNIFIED_TO_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: unified-core-environment-rest
    port: 8080
    description: REST adapter for Unified.to  API — environment. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/unified/environment
      name: unified-environment
      description: REST surface for unified-environment.
      operations:
      - method: GET
        name: listunifiedenvironments
        description: Returns all environments
        call: unified-core-environment.listunifiedenvironments
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createunifiedenvironment
        description: Create new environments
        call: unified-core-environment.createunifiedenvironment
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/unified/environment/{env}
      name: unified-environment-env
      description: REST surface for unified-environment-env.
      operations:
      - method: DELETE
        name: removeunifiedenvironment
        description: Remove an environment
        call: unified-core-environment.removeunifiedenvironment
        with:
          env: rest.env
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: unified-core-environment-mcp
    port: 9090
    transport: http
    description: MCP adapter for Unified.to  API — environment. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: returns-all-environments
      description: Returns all environments
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: unified-core-environment.listunifiedenvironments
      outputParameters:
      - type: object
        mapping: $.
    - name: create-new-environments
      description: Create new environments
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: unified-core-environment.createunifiedenvironment
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: remove-environment
      description: Remove an environment
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: unified-core-environment.removeunifiedenvironment
      with:
        env: tools.env
      outputParameters:
      - type: object
        mapping: $.