roborock_request_login_code
Sends a login code to the specified Roborock account email for authentication; in mock mode, returns the mock code instead of sending an email.
Instructions
Send a Roborock email login code.
Roborock has no OAuth. Pass the account email. In mock mode (ROBOROCK_MOCK=1) no email is sent; the result tells you the mock code.
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>"
},
"name": "roborock_request_login_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||