create_share_template
Creates a share template for minigame sharing on TapTap, requiring a description (max 21 UTF-8 characters) and an internal remark. The template must be approved before use.
Instructions
PREREQUISITE: An app MUST be selected first. Before calling this tool, ALWAYS call get_current_app_info to verify an app is selected. If not, guide user through: 1) Call list_developers_and_apps, 2) Show list to user and ASK them to choose, 3) Call select_app with user's choice. Create a new share template on TapTap server for minigame sharing feature. Auto-fetches developer_id and app_id from selected app. Returns template_code which is used in client-side tap.showShareboard() API. IMPORTANT: contents field has strict 21 UTF-8 character limit (including spaces and punctuation). Template needs audit approval (status=1) before use.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | No | App ID (optional, will be auto-filled from context or cache) | |
| remark | Yes | Internal remark/note for template management (REQUIRED, max 100 characters). Not shown to users, only for developer reference. Used to identify and manage templates. | |
| contents | Yes | Share description content (REQUIRED). STRICT LIMIT: max 21 UTF-8 characters including spaces and punctuation. Example: "分享游戏获得奖励" (12 chars). This is the text shown in share panel. | |
| developer_id | No | Developer ID (optional, will be auto-filled from context or cache) |