import { z } from 'zod';
import { defineTool } from '../toolDefinition.js';
import { AgentToolNames } from './agentToolNames.js';
import { flowInfoSchema } from './schemas.js';
export const getFlowDetailsParamsSchema = z.object({
    flow_id: z.string().meta({
        description: 'The invariant ID of the flow to fetch.',
    }),
});
export const getFlowDetailsResponseSchema = flowInfoSchema;
export const GetFlowDetailsToolDefinition = defineTool({
    name: 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: getFlowDetailsParamsSchema,
    responseSchema: getFlowDetailsResponseSchema,
});
//# sourceMappingURL=GetFlowDetailsDefinition.js.map