get_my_designers
Retrieve your designer profiles to manage game projects on The Game Crafter's print-on-demand platform. Use designer IDs for creating games or accessing your existing projects.
Instructions
List designer profiles for the authenticated user. Returns designer ID, name, and user ID. Use the designer_id with get_my_games or create_game. Requires authentication.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/designer.ts:4-16 (handler)The handleGetMyDesigners function is the handler for the get_my_designers tool, which calls the tgc-client's getDesigners method and formats the result as JSON.
export function handleGetMyDesigners(client: TgcClient) { return async (): Promise<CallToolResult> => { const designers = await client.getDesigners(); return { content: [ { type: "text", text: JSON.stringify(designers, null, 2), }, ], }; }; } - src/index.ts:87-91 (registration)The get_my_designers tool is registered in src/index.ts using server.registerTool and the handleGetMyDesigners handler.
server.registerTool("get_my_designers", { description: "List designer profiles for the authenticated user. Returns designer ID, name, and user ID. Use the designer_id with get_my_games or create_game. Requires authentication.", annotations: { readOnlyHint: true }, }, withErrorHandling(handleGetMyDesigners(client)));