memory_list
Retrieve all memory schemas from a specified studio to manage AI agent knowledge structures, with options to paginate results.
Instructions
List all memory schemas defined in the studio.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| studio | No | Studio name to use. Available: STAGING, MAIN, DEV, PRODUCTION. Default: PRODUCTION | |
| skip | No | Number of memories to skip. Default: 0 | |
| take | No | Number of memories to return. Default: 10 |
Implementation Reference
- src/index.ts:583-588 (handler)The execution handler for the 'memory_list' tool. It constructs a GET request to the Pickaxe API endpoint `/studio/memory/list` with optional pagination parameters (skip and take) and returns the JSON response.case "memory_list": { const skip = args.skip ?? 0; const take = args.take ?? 10; const result = await pickaxeRequest(`/studio/memory/list?skip=${skip}&take=${take}`, "GET", undefined, studio); return JSON.stringify(result, null, 2); }
- src/index.ts:411-428 (registration)Registration of the 'memory_list' tool in the tools array. Defines the tool name, description, and input schema (including optional studio, skip, and take parameters). The schema references the shared studioParam helper.{ name: "memory_list", description: "List all memory schemas defined in the studio.", inputSchema: { type: "object", properties: { studio: studioParam, skip: { type: "number", description: "Number of memories to skip. Default: 0", }, take: { type: "number", description: "Number of memories to return. Default: 10", }, }, }, },
- src/index.ts:414-427 (schema)Input schema definition for the 'memory_list' tool, specifying the expected parameters and their types/descriptions.inputSchema: { type: "object", properties: { studio: studioParam, skip: { type: "number", description: "Number of memories to skip. Default: 0", }, take: { type: "number", description: "Number of memories to return. Default: 10", }, }, },
- src/index.ts:101-104 (helper)Shared helper schema for the 'studio' parameter, used across all tools including memory_list for selecting the Pickaxe studio.const studioParam = { type: "string", description: `Studio name to use. Available: ${configuredStudios.join(", ")}. Default: ${DEFAULT_STUDIO || configuredStudios[0]}`, };