import { z } from 'zod';
import { defineTool, } from '../toolDefinition.js';
import { AgentToolNames } from '../shared/agentToolNames.js';
export const executeDeleteStepsArgumentsSchema = z.object({
    stepsToDelete: z.number().meta({
        description: 'The number of recent steps to delete. This must be less than or equal to the number of deletable steps in the Deletable Steps section.',
    }),
});
export const executeDeleteStepsResponseSchema = z.object({
    success: z.boolean(),
    message: z.string().optional(),
});
export const ExecuteDeleteStepsToolDefinition = defineTool({
    name: AgentToolNames.ExecuteDeleteLastSteps,
    description: 'Deletes a specified number of the most recent steps. This should be the first function call when you need to undo some previous steps before adding new ones.',
    argumentsSchema: executeDeleteStepsArgumentsSchema,
    responseSchema: executeDeleteStepsResponseSchema,
});
//# sourceMappingURL=ExecuteDeleteStepsDefinition.js.map