LangChain · Capability

LangSmith — prompt-webhooks

LangSmith — prompt-webhooks. 6 operations. Lead operation: List Prompt Webhooks. Self-contained Naftiko capability covering one Langchain business surface.

Run with Naftiko Langchainprompt-webhooks

What You Can Do

GET
Listpromptwebhooksapiv1promptwebhooksget — List Prompt Webhooks
/v1/api/v1/prompt-webhooks
POST
Createpromptwebhookapiv1promptwebhookspost — Create Prompt Webhook
/v1/api/v1/prompt-webhooks
POST
Testpromptwebhookapiv1promptwebhookstestpost — Test Prompt Webhook
/v1/api/v1/prompt-webhooks/test
GET
Getpromptwebhookapiv1promptwebhookswebhookidget — Get Prompt Webhook
/v1/api/v1/prompt-webhooks/{webhook-id}
PATCH
Updatepromptwebhookapiv1promptwebhookswebhookidpatch — Update Prompt Webhook
/v1/api/v1/prompt-webhooks/{webhook-id}
DELETE
Deletepromptwebhookapiv1promptwebhookswebhookiddelete — Delete Prompt Webhook
/v1/api/v1/prompt-webhooks/{webhook-id}

MCP Tools

list-prompt-webhooks

List Prompt Webhooks

read-only idempotent
create-prompt-webhook

Create Prompt Webhook

test-prompt-webhook

Test Prompt Webhook

read-only
get-prompt-webhook

Get Prompt Webhook

read-only idempotent
update-prompt-webhook

Update Prompt Webhook

idempotent
delete-prompt-webhook

Delete Prompt Webhook

idempotent

Capability Spec

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