memory_get_user
Retrieve stored memories for a specific user by email address, with options to filter by memory type, skip records, or limit results for efficient data access.
Instructions
Get all collected memories for a specific user.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| studio | No | Studio name to use. Available: STAGING, MAIN, DEV, PRODUCTION. Default: PRODUCTION | |
| Yes | The user's email address | ||
| memoryId | No | Optional: specific memory schema ID to filter by | |
| skip | No | Number of memories to skip. Default: 0 | |
| take | No | Number of memories to return. Default: 10 |
Implementation Reference
- src/index.ts:589-595 (handler)Executes the memory_get_user tool by constructing the appropriate Pickaxe API URL with user email and optional filters, then fetches and returns the JSON response.case "memory_get_user": { let url = `/studio/memory/user/${encodeURIComponent(args.email as string)}?`; if (args.memoryId) url += `memoryId=${args.memoryId}&`; url += `skip=${args.skip ?? 0}&take=${args.take ?? 10}`; const result = await pickaxeRequest(url, "GET", undefined, studio); return JSON.stringify(result, null, 2); }
- src/index.ts:429-455 (schema)Defines the input schema for the memory_get_user tool, including required email and optional studio, memoryId, skip, and take parameters.{ name: "memory_get_user", description: "Get all collected memories for a specific user.", inputSchema: { type: "object", properties: { studio: studioParam, email: { type: "string", description: "The user's email address", }, memoryId: { type: "string", description: "Optional: specific memory schema ID to filter by", }, skip: { type: "number", description: "Number of memories to skip. Default: 0", }, take: { type: "number", description: "Number of memories to return. Default: 10", }, }, required: ["email"], }, },