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
JavaScriptdeepagentsskillsSkillMetadata
Interface●Since v1.4

SkillMetadata

Metadata for a skill per Agent Skills spec.

Copy
interface LoaderSkillMetadata

Properties

property
allowedTools: string

Tool names the skill recommends using.

Warning: this is experimental.

Constraints per Agent Skills specification:

  • Space-delimited list of tool names
property
compatibility: string

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.
property
description: string

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

property
license: string

License name or reference to bundled license file.

property
metadata: Record<string, string>

Metadata for the edit operation, attached to the ToolMessage

property
name: string

Error name for instanceof checks and logging

property
path: string

File path of edited file, undefined on failure

property
source: "user" | "project"

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

View source on GitHub