eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
24 lines (23 loc) • 829 B
TypeScript
import { z } from "#compiled/zod/index.js";
import { type ToolDefinition } from "#tools/definition.js";
/**
* Input schema for the provided `write_file` tool.
*/
export declare const WRITE_FILE_INPUT_SCHEMA: z.ZodObject<{
content: z.ZodString;
filePath: z.ZodString;
}, z.core.$strict>;
/**
* Output schema for the provided `write_file` tool.
*/
export declare const WRITE_FILE_OUTPUT_SCHEMA: z.ZodObject<{
existed: z.ZodBoolean;
path: z.ZodString;
}, z.core.$strict>;
export type WriteFileToolInput = z.infer<typeof WRITE_FILE_INPUT_SCHEMA>;
export type WriteFileToolOutput = z.infer<typeof WRITE_FILE_OUTPUT_SCHEMA>;
/**
* Framework-owned executor that delegates to the default sandbox.
*/
export declare const writeFile: ToolDefinition<WriteFileToolInput, WriteFileToolOutput>;
export default writeFile;