"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ReadFileToolDefinition = void 0;
var zod_1 = require("zod");
var toolDefinition_js_1 = require("../toolDefinition.js");
var agentToolNames_js_1 = require("./agentToolNames.js");
var readFileArgumentsSchema = zod_1.z.object({
    filename: zod_1.z.string().meta({ description: 'The name of the file to read' }),
});
var readFileResponseSchema = zod_1.z.object({
    filename: zod_1.z.string(),
    content: zod_1.z.string(),
});
exports.ReadFileToolDefinition = (0, toolDefinition_js_1.defineTool)({
    name: agentToolNames_js_1.AgentToolNames.ReadFile,
    description: 'Read the full content of a saved file by name.',
    argumentsSchema: readFileArgumentsSchema,
    responseSchema: readFileResponseSchema,
});
//# sourceMappingURL=ReadFileDefinition.js.map