Latest code
latest_codeThe most recent verification code sent to a line, or nothing if none has arrived.
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": {
"lineId": "<lineId>"
},
"name": "latest_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Optional. Only consider messages whose sender contains this text, case-insensitively — a short code, say 32665. | |
| lineId | Yes | The line's id, from list_lines. | |
| service | No | Optional. Only consider messages Cleat attributed to this service (its id or name, e.g. facebook), or that carry this label from your workspace's contacts. |