Sign in test app user
tzcloud_sign_in_test_end_userSign one of your test end users in for the turnzero command, without a mailbox. With no shell, use tzcloud_request_route or tzcloud_write_route with test_end_user for one signed-in call instead. This call returns the command turnzero session in four forms. It signs nobody in yet. Run one form once with turnzero 0.37.0 or later. It writes the cookie to a jar that curl -b reads. The value never reaches your tool. The session ends at the earliest of one hour, the user's expiry and the realm token's life.
The command uses TURNZERO_CLOUD_MINTED_TOKEN, or this computer's token if unset. On production or workforce realms, its token needs test_end_users, even when your session requested the command. Without the grant there, a minted token's call and command are refused test_end_users_not_admitted. An expired or real user is refused not_test_end_user.
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>",
"end_user": "<end_user>"
},
"name": "tzcloud_sign_in_test_end_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_user | Yes | The test end user's id from `tzcloud_add_test_end_users` or `tzcloud_list_end_users`, or its label, the address's local part. An identifier-shaped value is read as an id; any other as a label. An id no row holds is refused `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 test end user signs in to, `development` or `production`. |