get_credit_remaining
Check remaining USDC credit before deciding whether to make a paid call. Returns spendable balance and borrowing headroom to prevent declined transactions.
Instructions
Return how much USDC credit the calling agent has left. Use BEFORE deciding whether to make a paid call. Two distinct numbers: available (= spendable USDC right now — what the proxy actually gates on) and headroomToAutoBorrow (= operator-delegation borrowing capacity — how much MORE the agent could draw from its credit line). These differ when the agent has delegation capacity but no facility loan opened yet: headroomToAutoBorrow > 0 does NOT imply available > 0. Use available for the spend gate. Requires an agent key (floe_...).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||