@langgraph-js/pro
Version:
The Pro SDK for LangGraph - seamlessly integrate your AI agents with frontend interfaces and build complex AI workflows
73 lines (72 loc) • 2.48 kB
TypeScript
import { z } from "zod";
export declare const ExtractSchema: z.ZodObject<{
url: z.ZodString;
raw: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
url: string;
raw: boolean;
}, {
url: string;
raw?: boolean | undefined;
}>;
export declare const SearchSchema: z.ZodObject<{
query: z.ZodString;
engines: z.ZodDefault<z.ZodArray<z.ZodEnum<["basic", "npm", "juejin", "anthropic", "github"]>, "many">>;
returnType: z.ZodDefault<z.ZodEnum<["json", "markdown"]>>;
withMetadata: z.ZodDefault<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
query: string;
engines: ("basic" | "npm" | "juejin" | "anthropic" | "github")[];
returnType: "json" | "markdown";
withMetadata: boolean;
}, {
query: string;
engines?: ("basic" | "npm" | "juejin" | "anthropic" | "github")[] | undefined;
returnType?: "json" | "markdown" | undefined;
withMetadata?: boolean | undefined;
}>;
export declare const crawler_tool: import("@langchain/core/tools").DynamicStructuredTool<z.ZodObject<{
url: z.ZodString;
raw: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
url: string;
raw: boolean;
}, {
url: string;
raw?: boolean | undefined;
}>, {
url: string;
raw: boolean;
}, {
url: string;
raw?: boolean | undefined;
}, string | {
status: string;
error: string;
}>;
export declare const web_search_tool: import("@langchain/core/tools").DynamicStructuredTool<z.ZodObject<{
query: z.ZodString;
engines: z.ZodDefault<z.ZodArray<z.ZodEnum<["basic", "npm", "juejin", "anthropic", "github"]>, "many">>;
returnType: z.ZodDefault<z.ZodEnum<["json", "markdown"]>>;
withMetadata: z.ZodDefault<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
query: string;
engines: ("basic" | "npm" | "juejin" | "anthropic" | "github")[];
returnType: "json" | "markdown";
withMetadata: boolean;
}, {
query: string;
engines?: ("basic" | "npm" | "juejin" | "anthropic" | "github")[] | undefined;
returnType?: "json" | "markdown" | undefined;
withMetadata?: boolean | undefined;
}>, {
query: string;
engines: ("basic" | "npm" | "juejin" | "anthropic" | "github")[];
returnType: "json" | "markdown";
withMetadata: boolean;
}, {
query: string;
engines?: ("basic" | "npm" | "juejin" | "anthropic" | "github")[] | undefined;
returnType?: "json" | "markdown" | undefined;
withMetadata?: boolean | undefined;
}, string>;