import { z } from 'zod';
import { defineTool } from '../toolDefinition.js';
import { AgentToolNames } from './agentToolNames.js';
import { snippetInfoSchema } from './schemas.js';
export const getSnippetDetailsParamsSchema = z.object({
    snippet_id: z.string().meta({
        description: 'The invariant ID of the snippet to fetch.',
    }),
});
export const getSnippetDetailsResponseSchema = snippetInfoSchema;
export const GetSnippetDetailsToolDefinition = defineTool({
    name: AgentToolNames.GetSnippetDetails,
    description: 'Fetch full details of a specific snippet by its ID. Returns the snippet name, code body, parameters, ' +
        'and type. Use this when you have a snippet ID (e.g. from a test plan or search result) ' +
        'and need the complete details before executing it.',
    argumentsSchema: getSnippetDetailsParamsSchema,
    responseSchema: getSnippetDetailsResponseSchema,
});
//# sourceMappingURL=GetSnippetDetailsDefinition.js.map