list_memories
Retrieve all translation memories stored in your Lara Translate account to manage and reuse previous translations.
Instructions
Lists all translation memories in your Lara Translate account.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/mcp/tools/list_memories.ts:6-8 (handler)The main handler function for the "list_memories" tool, which lists all translation memories using the Lara Translator instance.export async function listMemories(lara: Translator) { return await lara.memories.list() }
- src/mcp/tools/list_memories.ts:4-4 (schema)Zod schema defining the input for the "list_memories" tool, which requires no parameters.export const listMemoriesSchema = z.object({})
- src/mcp/tools.ts:47-50 (registration)Maps the tool name "list_memories" to its handler function in the listers object, used for dispatching in CallTool.const listers: Record<string, Lister> = { list_memories: listMemories, list_languages: listLanguages, };
- src/mcp/tools.ts:138-143 (registration)Tool specification object for "list_memories" in the ListTools() response, advertised to MCP clients.{ name: "list_memories", description: "Lists all translation memories in your Lara Translate account.", inputSchema: z.toJSONSchema(listMemoriesSchema), },