add_game_entry
Add a new game to the AUL library configuration and sync it to GitHub and GitCode repositories, automatically setting the publish timestamp.
Instructions
向 config.json 中添加一个游戏条目并推送回双仓库。会自动写入 publish_time。
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>",
"sha_gh": "<sha_gh>",
"sha_gt": "<sha_gt>",
"config": "<config>",
"game": "<game>"
},
"name": "add_game_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | Yes | 游戏数据 | |
| config | Yes | 当前完整的 config 对象(通过 get_config 获取) | |
| sha_gh | Yes | 当前 config 在 GitHub 的 sha(通过 get_config 获取) | |
| sha_gt | Yes | 当前 config 在 GitCode 的 sha(通过 get_config 获取) | |
| library | Yes | 目标游戏库 | desktop |
| token_gh | Yes | GitHub Token | |
| token_gt | Yes | GitCode Token |