init_session
Initialize a game wallet by providing a private key. This wallet signs all on-chain actions including chat, voting, and joining.
Instructions
初始化一个用于游戏的钱包。传入私钥以创建一个钱包,该钱包将签名所有链上操作(聊天、投票、加入等)。
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": {
"privateKey": "<privateKey>"
},
"name": "init_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| privateKey | Yes | 用于游戏的钱包私钥(十六进制格式,带或不带 0x 前缀) |