Create a managed retained test identity
create_test_identityCreates a first-class managed test identity with a persistent TMV inbox and persona, scoped to this account and one customer-site origin. Use it before multi-run or multi-user tests when you need the same account history to survive. If username/password are omitted, submit_test with identityMode='reuse' and this testIdentityId will perform the first signup and save credentials on PASS.
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": {
"customerSite": "<customerSite>"
},
"name": "create_test_identity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| password | No | Optional existing password. Stored encrypted at rest and never returned by list tools. | |
| username | No | Optional existing login username/email if the account already exists on the customer site. | |
| autoRenew | No | When true, expiry is extended by use. Billing renewal enforcement is handled separately from this metadata flag. | |
| createdBy | No | Who originally created this customer-site account. Use human for accounts created by a TMV human tester, ai for accounts created by an AI run, and external for credentials you already have. | external |
| projectId | No | ||
| setupNotes | No | Optional notes about the account setup, role, permissions, or fixture state. | |
| customerSite | Yes | Customer site origin or URL this identity is allowed to test against. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool result payload (JSON object) |