Buy credits (visual picker)
ucode_render_creditsOpens the Add credits card with the current wallet balance. Payments never happen in chat — the user taps through to https://ucode.uk/app/credits. After they add credits there, call ucode_credits_status. No payment details are collected in chat.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ucode_render_credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
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 |