UNPKG

packfs-core

Version:

Semantic filesystem operations for LLM agent frameworks with natural language understanding. See LLM_AGENT_GUIDE.md for copy-paste examples.

39 lines 1.09 kB
/** * LangChain tool implementation for PackFS */ import type { LangChainToolConfig } from './types.js'; export declare class PackFSLangChainTool { private readonly config; constructor(config?: LangChainToolConfig); /** * Get tool definition for LangChain */ getToolDefinition(): { name: string | undefined; description: string | undefined; parameters: { type: string; properties: { operation: { type: string; enum: string[]; description: string; }; path: { type: string; description: string; }; content: { type: string; description: string; }; }; required: string[]; }; }; /** * Execute filesystem operation */ execute(operation: string, path: string, _content?: string): Promise<string>; } //# sourceMappingURL=tool.d.ts.map