import { z } from 'zod';
import { defineTool, } from '../toolDefinition.js';
import { AgentToolNames } from '../shared/agentToolNames.js';
export const executeEndIfArgumentsSchema = z.object({});
export const executeEndIfResponseSchema = z.object({
    success: z.boolean(),
    message: z.string().optional(),
});
export const ExecuteEndIfToolDefinition = defineTool({
    name: 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: executeEndIfArgumentsSchema,
    responseSchema: executeEndIfResponseSchema,
});
//# sourceMappingURL=ExecuteEndIfDefinition.js.map