import { z } from 'zod';
import { defineTool, } from '../toolDefinition.js';
import { AgentToolNames } from '../shared/agentToolNames.js';
import { testPlanSchema } from './schemas.js';
export const updateTestOutlineToolParamsSchema = z.object({
    reason: z.string().meta({
        description: 'The reason for the test outline update. If there is an existing outline, this should explain what should be changed about the current outline. If there is no existing outline, this should explain that an initial outline should be generated.',
    }),
});
/**
 * Response contains the updated test generation state after planning
 */
export const updateTestOutlineToolResponseSchema = z.object({
    updatedTestPlan: testPlanSchema.meta({
        description: 'The updated test outline',
    }),
});
export const UpdateTestOutlineToolDefinition = defineTool({
    name: AgentToolNames.UpdateTestOutline,
    description: 'Update the test outline for the current test generation state using the planning module',
    argumentsSchema: updateTestOutlineToolParamsSchema,
    responseSchema: updateTestOutlineToolResponseSchema,
});
//# sourceMappingURL=UpdateTestOutlineDefinition.js.map