upload_h5_game
Upload a confirmed H5 game to TapTap. Requires a selected app and relative path from the preparation step.
Instructions
[H5 Game Upload Workflow - Step 2]
Upload the H5 game to TapTap platform after user confirms info from prepare_h5_upload.
**PREREQUISITE: An app MUST be selected first.**
This tool reads app info from cache (selected via select_app or create_app).
If no app is selected, it will return an error guiding user to select one first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| genre | No | If user provides a specific game genre, use it directly. If user is unsure or doesn't specify, analyze the code files, game mechanics, UI elements, and gameplay features in the project directory to determine the most appropriate game genre. Available genres keys: rpg, casual, action, strategy, simulation, trivia, arcade, adventure, card, sports, racing, puzzle, educational, music, word, board, and the chinese name of the genre is 角色扮演, 休闲, 动作, 策略, 模拟, 益智, 街机, 冒险, 卡牌, 体育, 竞速, 知识问答, 教育, 音乐, 文字, 桌面和棋类. When analyzing, consider game rules, player interactions, visual elements, and core gameplay loops. If still uncertain after analysis, default to 'casual' as fallback. | |
| gamePath | No | **MUST be a relative path** to the H5 game build output directory. ✅ Correct: "dist", "build", "output", "." ❌ Wrong: "/workspace/dist", "/tmp/build" (absolute paths not allowed) Use the same path confirmed in prepare_h5_upload step. |