Use the balance for a number's capture
use_balance_for_captureAfter a number's subscription ended, switch its capture to the account's existing balance, as the Payments page in Werify does. Use it only when the user chooses it: from then on, what the number captures draws on that balance as it arrives. The switch itself draws nothing, and a number paused because its subscription ended resumes. Refused while the subscription is still active, when the balance was already chosen, or with no balance to draw on. phone may be omitted when the user has a single number.
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": "use_balance_for_capture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | No | The connected number, from list_connected_numbers. Omit it when the user has a single connected number. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | What changed, to tell the user. | |
| phone | No | ||
| result | No | resumed | selected | |
| declined | No | True when the confirmation form came back declined. |