Confirmation of funds
check_fundsVerify whether a Starling account has enough available funds, overdraft included, to cover a payment amount in minor units before authorizing.
Instructions
Checks whether the account has enough available money for a payment of the given amount, taking the overdraft into account.
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": {
"amountMinorUnits": "<amountMinorUnits>"
},
"name": "check_funds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountUid | No | Account UID. Optional: defaults to STARLING_DEFAULT_ACCOUNT_UID, the only account, or the PRIMARY account | |
| amountMinorUnits | Yes | Amount to check in minor units (pence for GBP: 1050 = £10.50) |