set_player_profile
Updates your player profile's name and card background image, or clears the image, using the latest revision; it does not change your current in-game display name.
Instructions
修改自己的角色资料,profile.back 为角色卡牌背景(头像)的 HTTP(S) 图片地址;back 传空字符串清除头像,省略字段保留原值。原版后端只保存 profile.name,不修改当前角色显示名;加入房间时用 join_game.name 设置名称,对局中重连保留原显示名。仅玩家可用,需最新 revision。
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": {
"revision": "<revision>",
"profile": "<profile>"
},
"name": "set_player_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | Yes | ||
| revision | Yes | 最新状态的 revision;过期操作会被拒绝 |