UNPKG

@langgraph-js/pro

Version:

The Pro SDK for LangGraph - seamlessly integrate your AI agents with frontend interfaces and build complex AI workflows

53 lines (52 loc) 1.8 kB
import { z } from "zod"; export declare const SequentialThinkingTool: import("@langchain/core/tools").DynamicStructuredTool<z.ZodObject<{ thought: z.ZodString; nextThoughtNeeded: z.ZodBoolean; thoughtNumber: z.ZodNumber; totalThoughts: z.ZodNumber; isRevision: z.ZodOptional<z.ZodBoolean>; revisesThought: z.ZodOptional<z.ZodNumber>; branchFromThought: z.ZodOptional<z.ZodNumber>; branchId: z.ZodOptional<z.ZodString>; needsMoreThoughts: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { thought: string; nextThoughtNeeded: boolean; thoughtNumber: number; totalThoughts: number; isRevision?: boolean | undefined; revisesThought?: number | undefined; branchFromThought?: number | undefined; branchId?: string | undefined; needsMoreThoughts?: boolean | undefined; }, { thought: string; nextThoughtNeeded: boolean; thoughtNumber: number; totalThoughts: number; isRevision?: boolean | undefined; revisesThought?: number | undefined; branchFromThought?: number | undefined; branchId?: string | undefined; needsMoreThoughts?: boolean | undefined; }>, { thought: string; nextThoughtNeeded: boolean; thoughtNumber: number; totalThoughts: number; isRevision?: boolean | undefined; revisesThought?: number | undefined; branchFromThought?: number | undefined; branchId?: string | undefined; needsMoreThoughts?: boolean | undefined; }, { thought: string; nextThoughtNeeded: boolean; thoughtNumber: number; totalThoughts: number; isRevision?: boolean | undefined; revisesThought?: number | undefined; branchFromThought?: number | undefined; branchId?: string | undefined; needsMoreThoughts?: boolean | undefined; }, string>;