Check verification
check_verificationCheck a verification code submitted by a user, by the phone or email it went to. Returns {verified, status, channel, charged}. Billed only when verified is true.
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": {
"code": "<code>"
},
"name": "check_verification"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code last sent | |
| No | The address the code was emailed to. After a fallback, check by `email`: the code proves the address, not the phone, and a check by `phone` answers 409 `invalid_state`. | ||
| phone | No | The number the code was texted to. Send this or `email`. |