extract_otp_from_text
Extracts 4–8 digit OTP codes and verification links from raw text such as emails, SMS messages, or HTML for automated login and verification workflows.
Instructions
Extract OTP codes (4-8 digits) and verification links from any text.
Args: text: Raw text to scan — email body, SMS content, HTML, etc.
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": {
"text": "<text>"
},
"name": "extract_otp_from_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |