Rent packages (flow v2)
ucode_sms_rent_packagesAfter user picks serviceCode + country (numeric id from summary/detail), list credit-priced routes only. Same package picker as the app (rentalFlowVersion 2). Present credits, recommended badge, labels — never quote USD or backend provider names.
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": {
"service": "<service>",
"country": "<country>"
},
"name": "ucode_sms_rent_packages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | Yes | ||
| service | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| code | No | ||
| data | No | ||
| error | No | ||
| phone | No | ||
| uiView | No | ||
| credits | No | ||
| endDate | No | ||
| smsCode | No | ||
| summary | Yes | ||
| rentalId | No | ||
| billingUrl | No | ||
| httpStatus | No | ||
| countryName | No | ||
| phoneNumber | No | ||
| serviceName | No | ||
| neededCredits | No | ||
| providerRentalId | No | ||
| remainingSeconds | No |