Read test sign-in code
tzcloud_read_test_signin_codeRead the unspent sign-in codes for one of your test end users, newest first, instead of a mailbox. First start sign-in for that address at the realm's test sign-in page, returned by tzcloud_add_test_end_users, or its email sign-in page. Without a start, no code is held. Pass binding to select one start. A code lasts ten minutes, allows five attempts and confirms only in the browser that started sign-in. The call works only for your account and application. On production or workforce realms, a minted token needs test_end_users. Your session needs none.
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": {
"application": "<application>",
"environment": "<environment>"
},
"name": "tzcloud_read_test_signin_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Test user fixture-domain email, lowercased; use it or `end_user`, never both. Without an unexpired match, refused `not_test_end_user`. | ||
| binding | No | Optional: your own binding hash, base64url of the SHA-256 of the binding cookie's value the sign-in start set, selecting that ticket's code alone; leave it out and you get every unspent code, newest first. | |
| end_user | No | Test user id or label from `tzcloud_add_test_end_users`, or use `email`, never both; no matching id or label draws `no_such_end_user`. | |
| application | Yes | Your account's application `id` from `tzcloud_list_applications`, not its name or label. | |
| environment | Yes | Required. The environment whose realm the call addresses, `development` or `production`. |