latest_code
Retrieve the most recent verification code from a specified line, with optional sender or service filters. Returns false when no code has been received.
Instructions
The most recent verification code already on a line, or found: false if none has arrived. Use wait_for_code instead when the code has not been sent yet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Optional. Only consider senders containing this text, e.g. a short code. | |
| lineId | Yes | The line's id, from list_lines. | |
| service | No | Optional. Only consider messages Cleat attributed to this service, e.g. 'facebook'. |