import { z } from "zod";
import { createToolFactory, PermissionLevel, ToolCategory } from "../types.js";
export const explainCodeFinalizeToolFactory = createToolFactory("explainCodeFinalize", () => {
    return {
        description: `
Call this tool to signal that the explanation is complete.
`,
        category: ToolCategory.GENERAL,
        defaultPermission: PermissionLevel.ALLOW,
        readOnly: true,
        inputSchema: z.object({
            result: z.string().describe("The result of the explanation"),
        }),
        execute: async ({ result }) => {
            return result;
        },
    };
});
//# sourceMappingURL=explain-code-finalize.js.map