eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
22 lines (21 loc) • 811 B
TypeScript
import { z } from "#compiled/zod/index.js";
import { type ToolDefinition } from "#tools/definition.js";
export declare const WEB_FETCH_INPUT_SCHEMA: z.ZodObject<{
format: z.ZodOptional<z.ZodEnum<{
html: "html";
markdown: "markdown";
text: "text";
}>>;
timeout: z.ZodOptional<z.ZodNumber>;
url: z.ZodString;
}, z.core.$strict>;
export declare const WEB_FETCH_OUTPUT_SCHEMA: z.ZodObject<{
content: z.ZodString;
contentType: z.ZodString;
truncated: z.ZodBoolean;
url: z.ZodString;
}, z.core.$strict>;
export type WebFetchToolInput = z.infer<typeof WEB_FETCH_INPUT_SCHEMA>;
export type WebFetchToolOutput = z.infer<typeof WEB_FETCH_OUTPUT_SCHEMA>;
export declare const webFetch: ToolDefinition<WebFetchToolInput, WebFetchToolOutput>;
export default webFetch;