submit_login_code
Submit the one-time code from Ozon to finish login, restore your profile, and avoid future sign-in codes. If the code is refused or expired, restart the login process.
Instructions
Finish the login with the code Ozon sent, and keep a copy of the restored profile so the next sign-out costs nobody a code. Codes expire and are single-use: if it is refused, call start_login() again.
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": {
"code": "<code>"
},
"name": "submit_login_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The one-time code Ozon sent; digits only, as received. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | ||
| user_id | No | ||
| signed_in | No | ||
| orders_enabled | No | ||
| writes_enabled | No | ||
| backup_available | No |