UNPKG

eve

Version:

Filesystem-first framework for durable backend AI agents that run anywhere.

28 lines (27 loc) 971 B
import { z } from "#compiled/zod/index.js"; import { type ToolDefinition } from "#tools/definition.js"; /** * Input schema for the provided `read_file` tool. */ export declare const READ_FILE_INPUT_SCHEMA: z.ZodObject<{ filePath: z.ZodString; limit: z.ZodOptional<z.ZodNumber>; offset: z.ZodOptional<z.ZodNumber>; }, z.core.$strict>; /** * Output schema for the provided `read_file` tool. */ export declare const READ_FILE_OUTPUT_SCHEMA: z.ZodObject<{ content: z.ZodString; nextOffset: z.ZodOptional<z.ZodNumber>; path: z.ZodString; totalLines: z.ZodNumber; truncated: z.ZodBoolean; }, z.core.$strict>; export type ReadFileToolInput = z.infer<typeof READ_FILE_INPUT_SCHEMA>; export type ReadFileToolOutput = z.infer<typeof READ_FILE_OUTPUT_SCHEMA>; /** * Framework-owned executor that delegates to the default sandbox. */ export declare const readFile: ToolDefinition<ReadFileToolInput, ReadFileToolOutput>; export default readFile;