import { z } from 'zod';
import { defineTool, } from '../toolDefinition.js';
import { AgentToolNames } from '../shared/agentToolNames.js';
export const executeCreateMablMailboxArgumentsSchema = z.object({
    variableName: 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.
 */
export const executeCreateMablMailboxResponseSchema = z.object({
    success: z.boolean(),
    message: z.string().optional(),
    variable_name: z.string().optional().meta({
        description: 'The name of the variable that was created',
    }),
    variable_value: z.string().optional().meta({
        description: 'The generated mabl mailbox email address',
    }),
});
export const ExecuteCreateMablMailboxToolDefinition = defineTool({
    name: 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: executeCreateMablMailboxArgumentsSchema,
    responseSchema: executeCreateMablMailboxResponseSchema,
});
//# sourceMappingURL=ExecuteCreateMablMailboxDefinition.js.map