LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Agent
  • Middleware
  • Backends
  • Sandboxes
  • Skills
  • Subagents
  • Types
Modal
Daytona
Deno
Node VFS
Sandbox Standard Tests
  • Vitest
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewAgentMiddlewareBackendsSandboxesSkillsSubagentsTypes
Modal
Daytona
Deno
Node VFS
Sandbox Standard Tests
Vitest
Language
Theme
JavaScriptdeepagentsnodeLoaderSkillMetadata
Interface●Since v1.10

LoaderSkillMetadata

Metadata for a skill per Agent Skills spec.

Copy
interface LoaderSkillMetadata

Properties

View source on GitHub
property
allowedTools: string
property
compatibility: string
property
description: string
property
license: string
property
metadata: Record<string, string>
property
name: string
property
path: string
property
source: "user" | "project"

Tool names the skill recommends using.

Warning: this is experimental.

Constraints per Agent Skills specification:

  • Space-delimited list of tool names

Environment requirements.

Constraints per Agent Skills specification:

  • 1-500 characters if provided
  • Should only be included if there are specific compatibility requirements
  • Can indicate intended product, required packages, etc.

What this subagent does. The main agent uses this to decide when to delegate.

License name or reference to bundled license file.

Metadata for the edit operation, attached to the ToolMessage

Error name for instanceof checks and logging

File path of edited file, undefined on failure

Source of the skill ('user' or 'project')