LangSmith · Capability

LangSmith — tenant

LangSmith — tenant. 2 operations. Lead operation: List Tenants. Self-contained Naftiko capability covering one Langsmith business surface.

Run with Naftiko Langsmithtenant

What You Can Do

GET
Listtenantsapiv1tenantsget — List Tenants
/v1/api/v1/tenants
POST
Createtenantapiv1tenantspost — Create Tenant
/v1/api/v1/tenants

MCP Tools

list-tenants

List Tenants

read-only idempotent
create-tenant

Create Tenant

Capability Spec

langsmith-tenant.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: LangSmith — tenant
  description: 'LangSmith — tenant. 2 operations. Lead operation: List Tenants. Self-contained Naftiko capability covering
    one Langsmith business surface.'
  tags:
  - Langsmith
  - tenant
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LANGSMITH_API_KEY: LANGSMITH_API_KEY
capability:
  consumes:
  - type: http
    namespace: langsmith-tenant
    baseUri: ''
    description: LangSmith — tenant business capability. Self-contained, no shared references.
    resources:
    - name: api-v1-tenants
      path: /api/v1/tenants
      operations:
      - name: listtenantsapiv1tenantsget
        method: GET
        description: List Tenants
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: skip_create
          in: query
          type: boolean
        - name: include_deleted
          in: query
          type: boolean
      - name: createtenantapiv1tenantspost
        method: POST
        description: Create Tenant
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - 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-tenant-rest
    port: 8080
    description: REST adapter for LangSmith — tenant. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/api/v1/tenants
      name: api-v1-tenants
      description: REST surface for api-v1-tenants.
      operations:
      - method: GET
        name: listtenantsapiv1tenantsget
        description: List Tenants
        call: langsmith-tenant.listtenantsapiv1tenantsget
        with:
          skip_create: rest.skip_create
          include_deleted: rest.include_deleted
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createtenantapiv1tenantspost
        description: Create Tenant
        call: langsmith-tenant.createtenantapiv1tenantspost
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: langsmith-tenant-mcp
    port: 9090
    transport: http
    description: MCP adapter for LangSmith — tenant. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-tenants
      description: List Tenants
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: langsmith-tenant.listtenantsapiv1tenantsget
      with:
        skip_create: tools.skip_create
        include_deleted: tools.include_deleted
      outputParameters:
      - type: object
        mapping: $.
    - name: create-tenant
      description: Create Tenant
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: langsmith-tenant.createtenantapiv1tenantspost
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.