UNPKG

@translated/lara-mcp

Version:

Lara API official MCP server

12 lines (11 loc) 508 B
import { z } from "zod/v4"; import { glossaryImportSchema } from "./_schemas.js"; export const checkGlossaryImportStatusOutputSchema = glossaryImportSchema; export const checkGlossaryImportStatusSchema = z.object({ id: z.string().describe("The ID of the glossary import job"), }); export async function checkGlossaryImportStatus(args, lara) { const validatedArgs = checkGlossaryImportStatusSchema.parse(args); const { id } = validatedArgs; return await lara.glossaries.getImportStatus(id); }