Confirm the signup email
verify_onboarding_emailConfirms the signup email with the eight-digit code the person received. Codes expire after 15 minutes and allow five attempts. Keep the returned capability and continuationToken private. Does not activate insurance.
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": {
"onboardingId": "<onboardingId>",
"capability": "<capability>",
"code": "<code>"
},
"name": "verify_onboarding_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The eight-digit code from the verification email. Valid for 15 minutes, five attempts. | |
| capability | Yes | From the /start result. | |
| onboardingId | Yes | From the /start result. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | awaiting_verification: ask the person for the emailed code; email_confirmed: call /verify-email again to finish; verified: offers are ready. | |
| policyIds | Yes | IDs of the offered policies, once created. | |
| capability | Yes | Secret proof of this signup. Keep it private and send it with onboardingId. | |
| onboardingId | Yes | Identifies this signup. | |
| continuationToken | No | Secret token for /payment-handoff, valid for 15 minutes after verification. |