"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ExecuteReloadPageToolDefinition = exports.executeReloadPageResponseSchema = exports.executeReloadPageArgumentsSchema = void 0;
var zod_1 = require("zod");
var toolDefinition_js_1 = require("../toolDefinition.js");
exports.executeReloadPageArgumentsSchema = zod_1.z.object({});
/**
 * Response schema for execute_reload_page tool.
 * The client should include success status after recording the reload step.
 */
exports.executeReloadPageResponseSchema = zod_1.z.object({
    success: zod_1.z.boolean(),
    message: zod_1.z.string().optional(),
});
exports.ExecuteReloadPageToolDefinition = (0, toolDefinition_js_1.defineTool)({
    name: 'execute_reload_page',
    description: 'Reloads the current page. Use this when the test needs to reload or refresh the page to verify that state persists after reload, to reset transient UI state, or when requested. The page will be reloaded during test execution using browser navigation reload.',
    argumentsSchema: exports.executeReloadPageArgumentsSchema,
    responseSchema: exports.executeReloadPageResponseSchema,
});
//# sourceMappingURL=ExecuteReloadPageDefinition.js.map