Get rental codes
sms_rental_get_codesRented SMS numbers. List the SMS messages received on a rented number. Poll periodically; new messages arrive over the lifetime of the rental.
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": {
"rental_id": "<rental_id>"
},
"name": "sms_rental_get_codes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| last_id | No | Pagination cursor (UUID) — the id of the last item from the previous page | |
| per_page | No | ||
| rental_id | Yes | Rental id (UUID) returned by sms_rental_buy_number |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||