register_or_login
Register or log in with an email verification code and return a user ID for authenticated HiPo Work actions.
Instructions
使用邮箱验证码注册或登录。返回 user_id。
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": {
"email": "<email>",
"code": "<code>"
},
"name": "register_or_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| role | No | candidate | |
| Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |