UNPKG

@translated/lara-mcp

Version:

Lara API official MCP server

10 lines (9 loc) 344 B
import { z } from "zod/v4"; export const checkImportStatusSchema = z.object({ id: z.string().describe("The ID of the import job"), }); export async function checkImportStatus(args, lara) { const validatedArgs = checkImportStatusSchema.parse(args); const { id } = validatedArgs; return await lara.memories.getImportStatus(id); }