"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ExecuteStartStepGroupToolDefinition = exports.executeStartStepGroupResponseSchema = exports.executeStartStepGroupArgumentsSchema = void 0;
var zod_1 = require("zod");
var toolDefinition_js_1 = require("../toolDefinition.js");
var refreshedStepsResponseFields_js_1 = require("./shared/refreshedStepsResponseFields.js");
exports.executeStartStepGroupArgumentsSchema = zod_1.z.object({
    step_group_name: zod_1.z
        .string()
        .describe('A clear, action-oriented name for the step group (e.g., "Search for product", "Complete checkout form"). ' +
        'This will be used as the label for the step group in the test.'),
});
exports.executeStartStepGroupResponseSchema = zod_1.z.object(__assign({ success: zod_1.z.boolean(), message: zod_1.z.string().optional() }, refreshedStepsResponseFields_js_1.refreshedStepsResponseFields));
exports.ExecuteStartStepGroupToolDefinition = (0, toolDefinition_js_1.defineTool)({
    name: 'execute_start_step_group',
    description: "Creates a new labeled step group in the test and positions the cursor inside it. Use this tool to begin a new section of related steps when you are ready to start working on a specific part of the test. Each step group organizes the steps you create within it under a descriptive label.\n\nNote: Creating a step group inserts it at the cursor position and moves the cursor inside it. This changes subsequent step indices. The refreshed step list is returned in this tool's output (updated_test_steps); use it to re-anchor (if absent on an older client, call get_test_context).",
    argumentsSchema: exports.executeStartStepGroupArgumentsSchema,
    responseSchema: exports.executeStartStepGroupResponseSchema,
});
//# sourceMappingURL=ExecuteStartStepGroupDefinition.js.map