"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ExecuteDeleteStepsToolDefinition = exports.executeDeleteStepsResponseSchema = exports.executeDeleteStepsArgumentsSchema = void 0;
var zod_1 = require("zod");
var toolDefinition_js_1 = require("../toolDefinition.js");
var agentToolNames_js_1 = require("../shared/agentToolNames.js");
exports.executeDeleteStepsArgumentsSchema = zod_1.z.object({
    stepsToDelete: zod_1.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.',
    }),
});
exports.executeDeleteStepsResponseSchema = zod_1.z.object({
    success: zod_1.z.boolean(),
    message: zod_1.z.string().optional(),
});
exports.ExecuteDeleteStepsToolDefinition = (0, toolDefinition_js_1.defineTool)({
    name: agentToolNames_js_1.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: exports.executeDeleteStepsArgumentsSchema,
    responseSchema: exports.executeDeleteStepsResponseSchema,
});
//# sourceMappingURL=ExecuteDeleteStepsDefinition.js.map