LangChain · Capability

LangSmith — tags

LangSmith — tags. 5 operations. Lead operation: Get Tags. Self-contained Naftiko capability covering one Langchain business surface.

Run with Naftiko Langchaintags

What You Can Do

GET
Gettagsapiv1reposownerrepotagsget — Get Tags
/v1/api/v1/repos/{owner}/{repo}/tags
POST
Createtagapiv1reposownerrepotagspost — Create Tag
/v1/api/v1/repos/{owner}/{repo}/tags
GET
Gettagapiv1reposownerrepotagstagnameget — Get Tag
/v1/api/v1/repos/{owner}/{repo}/tags/{tag-name}
PATCH
Updatetagapiv1reposownerrepotagstagnamepatch — Update Tag
/v1/api/v1/repos/{owner}/{repo}/tags/{tag-name}
DELETE
Deletetagapiv1reposownerrepotagstagnamedelete — Delete Tag
/v1/api/v1/repos/{owner}/{repo}/tags/{tag-name}

MCP Tools

get-tags

Get Tags

read-only idempotent
create-tag

Create Tag

get-tag

Get Tag

read-only idempotent
update-tag

Update Tag

idempotent
delete-tag

Delete Tag

idempotent

Capability Spec

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