@langgraph-js/sdk
Version:
The UI SDK for LangGraph - seamlessly integrate your AI agents with frontend interfaces
17 lines (16 loc) • 551 B
TypeScript
import { DynamicStructuredTool } from "@langchain/core/tools";
export declare const FEToolsState: any;
export interface FEToolParameters {
name: string;
type: string;
description: string;
required: boolean;
}
export interface FETool {
name: string;
description: string;
parameters: FEToolParameters[];
}
export declare const createFETool: (tool: FETool) => FETool;
export declare const createFeTools: (tools: FETool[]) => DynamicStructuredTool[];
export declare const actionToTool: (tool: FETool) => DynamicStructuredTool;