LangChain · Capability

LangSmith — model-price-map

LangSmith — model-price-map. 4 operations. Lead operation: Read Model Price Map. Self-contained Naftiko capability covering one Langchain business surface.

Run with Naftiko Langchainmodel-price-map

What You Can Do

GET
Readmodelpricemapapiv1modelpricemapget — Read Model Price Map
/v1/api/v1/model-price-map
POST
Createnewmodelpriceapiv1modelpricemappost — Create New Model Price
/v1/api/v1/model-price-map
PUT
Updatemodelpriceapiv1modelpricemapidput — Update Model Price
/v1/api/v1/model-price-map/{id}
DELETE
Deletemodelpriceapiv1modelpricemapiddelete — Delete Model Price
/v1/api/v1/model-price-map/{id}

MCP Tools

read-model-price-map

Read Model Price Map

read-only idempotent
create-new-model-price

Create New Model Price

update-model-price

Update Model Price

idempotent
delete-model-price

Delete Model Price

idempotent

Capability Spec

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