"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ExecuteEndIfToolDefinition = exports.executeEndIfResponseSchema = exports.executeEndIfArgumentsSchema = void 0;
var zod_1 = require("zod");
var toolDefinition_js_1 = require("../toolDefinition.js");
var agentToolNames_js_1 = require("../shared/agentToolNames.js");
exports.executeEndIfArgumentsSchema = zod_1.z.object({});
exports.executeEndIfResponseSchema = zod_1.z.object({
    success: zod_1.z.boolean(),
    message: zod_1.z.string().optional(),
});
exports.ExecuteEndIfToolDefinition = (0, toolDefinition_js_1.defineTool)({
    name: agentToolNames_js_1.AgentToolNames.ExecuteEndIf,
    description: "Closes a conditional (IF) block. Every assertion tool with conditionalType='IF' must have a matching END. Steps recorded after this tool call execute unconditionally (outside the conditional block).",
    argumentsSchema: exports.executeEndIfArgumentsSchema,
    responseSchema: exports.executeEndIfResponseSchema,
});
//# sourceMappingURL=ExecuteEndIfDefinition.js.map