get_game_details
Retrieve comprehensive game specifications including components, artwork files, and pricing details to review projects before modification.
Instructions
Get full game info including name, description, component list with quantities, file references, and pricing. Use this to review a game before making changes. Requires authentication.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game_id | Yes | The game ID to get details for. Get this from the get_my_games tool. |
Implementation Reference
- src/tools/games.ts:21-33 (handler)The handler function that executes the `get_game_details` tool logic by calling the client's `getGame` method.
export function handleGetGameDetails(client: TgcClient) { return async (args: { game_id: string }): Promise<CallToolResult> => { const game = await client.getGame(args.game_id); return { content: [ { type: "text", text: JSON.stringify(game, null, 2), }, ], }; }; } - src/schemas/tool-inputs.ts:38-43 (schema)The input schema definition for the `get_game_details` tool, requiring a `game_id`.
// Tool 6: get_game_details — full game info with components export const getGameDetailsInput = { game_id: safeId.describe( "The game ID to get details for. Get this from the get_my_games tool.", ), };