"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetFlowDetailsToolDefinition = exports.getFlowDetailsResponseSchema = exports.getFlowDetailsParamsSchema = void 0;
var zod_1 = require("zod");
var toolDefinition_js_1 = require("../toolDefinition.js");
var agentToolNames_js_1 = require("./agentToolNames.js");
var schemas_js_1 = require("./schemas.js");
exports.getFlowDetailsParamsSchema = zod_1.z.object({
    flow_id: zod_1.z.string().meta({
        description: 'The invariant ID of the flow to fetch.',
    }),
});
exports.getFlowDetailsResponseSchema = schemas_js_1.flowInfoSchema;
exports.GetFlowDetailsToolDefinition = (0, toolDefinition_js_1.defineTool)({
    name: agentToolNames_js_1.AgentToolNames.GetFlowDetails,
    description: 'Fetch full details of a specific flow by its ID. Returns the flow name, steps, parameters, ' +
        'preconditions, and summary. Use this when you have a flow ID (e.g. from a test plan or search result) ' +
        'and need the complete details before executing it.',
    argumentsSchema: exports.getFlowDetailsParamsSchema,
    responseSchema: exports.getFlowDetailsResponseSchema,
});
//# sourceMappingURL=GetFlowDetailsDefinition.js.map