LangSmith · Capability

LangSmith — experiments

LangSmith — experiments. 1 operations. Lead operation: Evaluate Experiment Adhoc. Self-contained Naftiko capability covering one Langsmith business surface.

Run with Naftiko Langsmithexperiments

What You Can Do

POST
Evaluateexperimentadhocapiv1runsexperimentsexperimentidevaluatepost — Evaluate Experiment Adhoc
/v1/api/v1/runs/experiments/{experiment-id}/evaluate

MCP Tools

evaluate-experiment-adhoc

Evaluate Experiment Adhoc

Capability Spec

langsmith-experiments.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: LangSmith — experiments
  description: 'LangSmith — experiments. 1 operations. Lead operation: Evaluate Experiment Adhoc. Self-contained Naftiko capability
    covering one Langsmith business surface.'
  tags:
  - Langsmith
  - experiments
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LANGSMITH_API_KEY: LANGSMITH_API_KEY
capability:
  consumes:
  - type: http
    namespace: langsmith-experiments
    baseUri: ''
    description: LangSmith — experiments business capability. Self-contained, no shared references.
    resources:
    - name: api-v1-runs-experiments-experiment_id-evaluate
      path: /api/v1/runs/experiments/{experiment_id}/evaluate
      operations:
      - name: evaluateexperimentadhocapiv1runsexperimentsexperimentidevaluatepost
        method: POST
        description: Evaluate Experiment Adhoc
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: experiment_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.LANGSMITH_API_KEY}}'
  exposes:
  - type: rest
    namespace: langsmith-experiments-rest
    port: 8080
    description: REST adapter for LangSmith — experiments. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/v1/runs/experiments/{experiment-id}/evaluate
      name: api-v1-runs-experiments-experiment-id-evaluate
      description: REST surface for api-v1-runs-experiments-experiment_id-evaluate.
      operations:
      - method: POST
        name: evaluateexperimentadhocapiv1runsexperimentsexperimentidevaluatepost
        description: Evaluate Experiment Adhoc
        call: langsmith-experiments.evaluateexperimentadhocapiv1runsexperimentsexperimentidevaluatepost
        with:
          experiment_id: rest.experiment_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: langsmith-experiments-mcp
    port: 9090
    transport: http
    description: MCP adapter for LangSmith — experiments. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: evaluate-experiment-adhoc
      description: Evaluate Experiment Adhoc
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: langsmith-experiments.evaluateexperimentadhocapiv1runsexperimentsexperimentidevaluatepost
      with:
        experiment_id: tools.experiment_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.