"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetSnippetDetailsToolDefinition = exports.getSnippetDetailsResponseSchema = exports.getSnippetDetailsParamsSchema = 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.getSnippetDetailsParamsSchema = zod_1.z.object({
    snippet_id: zod_1.z.string().meta({
        description: 'The invariant ID of the snippet to fetch.',
    }),
});
exports.getSnippetDetailsResponseSchema = schemas_js_1.snippetInfoSchema;
exports.GetSnippetDetailsToolDefinition = (0, toolDefinition_js_1.defineTool)({
    name: agentToolNames_js_1.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: exports.getSnippetDetailsParamsSchema,
    responseSchema: exports.getSnippetDetailsResponseSchema,
});
//# sourceMappingURL=GetSnippetDetailsDefinition.js.map