get_latest_otp
Retrieve the OTP code sent to an identifier via SMS or email to verify user input during end-to-end tests.
Instructions
Return the latest OTP code (SMS or email) sent to an identifier.
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": {
"identifier": "<identifier>"
},
"name": "get_latest_otp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | No | any | |
| test_id | No | ||
| identifier | Yes |