"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ExecuteCreateMablMailboxToolDefinition = exports.executeCreateMablMailboxResponseSchema = exports.executeCreateMablMailboxArgumentsSchema = void 0;
var zod_1 = require("zod");
var toolDefinition_js_1 = require("../toolDefinition.js");
var agentToolNames_js_1 = require("../shared/agentToolNames.js");
exports.executeCreateMablMailboxArgumentsSchema = zod_1.z.object({
    variableName: zod_1.z.string().meta({
        description: 'The name of the variable to store the generated mailbox email address in. The variable can be referenced in subsequent steps using {{@variableName}} syntax.',
    }),
});
/**
 * Response schema for execute_create_mabl_mailbox tool.
 * The client should include the variable name and generated email address.
 */
exports.executeCreateMablMailboxResponseSchema = zod_1.z.object({
    success: zod_1.z.boolean(),
    message: zod_1.z.string().optional(),
    variable_name: zod_1.z.string().optional().meta({
        description: 'The name of the variable that was created',
    }),
    variable_value: zod_1.z.string().optional().meta({
        description: 'The generated mabl mailbox email address',
    }),
});
exports.ExecuteCreateMablMailboxToolDefinition = (0, toolDefinition_js_1.defineTool)({
    name: agentToolNames_js_1.AgentToolNames.ExecuteCreateMablMailbox,
    description: 'Creates a temporary mabl mailbox email address and stores it in a variable. The generated email address can be used to receive emails during test execution (e.g., for sign-up flows, password resets, or email verification). Use the variable in subsequent steps with {{@variableName}} syntax. The mailbox is temporary and scoped to the test session.',
    argumentsSchema: exports.executeCreateMablMailboxArgumentsSchema,
    responseSchema: exports.executeCreateMablMailboxResponseSchema,
});
//# sourceMappingURL=ExecuteCreateMablMailboxDefinition.js.map