full_upload_game
Handles the full game upload workflow: validates tokens, fetches config, adds game entry, uploads cover, and publishes release. Completes the entire process in one call.
Instructions
一键完整上传游戏:1)验证Token 2)获取配置 3)添加游戏条目 4)上传封面 5)发布Release。最常用的完整流程。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"token_gh": "<token_gh>",
"token_gt": "<token_gt>",
"library": "<library>",
"image_path": "<image_path>",
"file_path": "<file_path>",
"game": "<game>"
},
"name": "full_upload_game"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | Yes | 游戏元数据 | |
| library | Yes | 目标游戏库 | desktop |
| token_gh | Yes | GitHub Token | |
| token_gt | Yes | GitCode Token | |
| file_path | Yes | 本地游戏安装包绝对路径(.7z/.apk) | |
| image_path | Yes | 本地封面图片绝对路径 | |
| upload_target | No | both |