check_verification
Check the code the end user typed for that number (same as POST /v1/verify/check). Returns {valid:true|false}; a wrong, expired or used code is valid:false. Never repeat the code in later messages.
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": {
"phone": "<phone>",
"code": "<code>"
},
"name": "check_verification"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| phone | Yes |