getUserPreferencesTool.ts•591 B
import { COMMON_TOOL_PROPERTIES, TAILOR_KIT_TOOL_NAMES, TailorKitTool } from "../constants.js";
const getUserPreferencesTool: TailorKitTool = {
name: TAILOR_KIT_TOOL_NAMES.GET_USER_PREFERENCES,
description: "Get user preferences by shop domain",
inputSchema: {
type: "object",
properties: {
shopDomain: {
type: "string",
description: "The shop domain ends with .myshopify.com",
},
...COMMON_TOOL_PROPERTIES,
},
required: ["shopDomain", "prompt", "conversationId", "conversationTitle"],
},
};
export default getUserPreferencesTool;