LangChain · Capability

LangSmith — hub_environments

LangSmith — hub_environments. 4 operations. Lead operation: List hub environments. Self-contained Naftiko capability covering one Langchain business surface.

Run with Naftiko Langchainhub_environments

What You Can Do

GET
Get — List hub environments
/v1/api/v1/hub/environments
POST
Post — Create hub environments model
/v1/api/v1/hub/environments
DELETE
Delete — Delete hub environments model
/v1/api/v1/hub/environments/{id}
PATCH
Patch — Update hub environments model
/v1/api/v1/hub/environments/{id}

MCP Tools

list-hub-environments

List hub environments

read-only idempotent
create-hub-environments-model

Create hub environments model

delete-hub-environments-model

Delete hub environments model

idempotent
update-hub-environments-model

Update hub environments model

idempotent

Capability Spec

langchain-hub-environments.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: LangSmith — hub_environments
  description: 'LangSmith — hub_environments. 4 operations. Lead operation: List hub environments. Self-contained Naftiko
    capability covering one Langchain business surface.'
  tags:
  - Langchain
  - hub_environments
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LANGCHAIN_API_KEY: LANGCHAIN_API_KEY
capability:
  consumes:
  - type: http
    namespace: langchain-hub-environments
    baseUri: ''
    description: LangSmith — hub_environments business capability. Self-contained, no shared references.
    resources:
    - name: api-v1-hub-environments
      path: /api/v1/hub/environments
      operations:
      - name: get
        method: GET
        description: List hub environments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: post
        method: POST
        description: Create hub environments model
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v1-hub-environments-id
      path: /api/v1/hub/environments/{id}
      operations:
      - name: delete
        method: DELETE
        description: Delete hub environments model
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: Model ID
          required: true
      - name: patch
        method: PATCH
        description: Update hub environments model
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: Model ID
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.LANGCHAIN_API_KEY}}'
  exposes:
  - type: rest
    namespace: langchain-hub-environments-rest
    port: 8080
    description: REST adapter for LangSmith — hub_environments. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/v1/hub/environments
      name: api-v1-hub-environments
      description: REST surface for api-v1-hub-environments.
      operations:
      - method: GET
        name: get
        description: List hub environments
        call: langchain-hub-environments.get
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Create hub environments model
        call: langchain-hub-environments.post
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/hub/environments/{id}
      name: api-v1-hub-environments-id
      description: REST surface for api-v1-hub-environments-id.
      operations:
      - method: DELETE
        name: delete
        description: Delete hub environments model
        call: langchain-hub-environments.delete
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patch
        description: Update hub environments model
        call: langchain-hub-environments.patch
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: langchain-hub-environments-mcp
    port: 9090
    transport: http
    description: MCP adapter for LangSmith — hub_environments. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-hub-environments
      description: List hub environments
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: langchain-hub-environments.get
      outputParameters:
      - type: object
        mapping: $.
    - name: create-hub-environments-model
      description: Create hub environments model
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: langchain-hub-environments.post
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-hub-environments-model
      description: Delete hub environments model
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: langchain-hub-environments.delete
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: update-hub-environments-model
      description: Update hub environments model
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: langchain-hub-environments.patch
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.