sync_balance
Record the current API credit balance from the signed-in billing page so image generation cost tracking stays accurate.
Instructions
When the user says '同步余额' or 'sync my balance', start with {}. Follow the returned browser instructions, then call again with all four fields. Report success only when the result says synced.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount_usd | No | USD value displayed next to API credit balance or Credit balance. | |
| billing_url | No | Actual URL of the signed-in billing page you read. | |
| observed_at | No | Unix time in seconds at the moment the amount was read (Date.now()/1000). | |
| organization_id | No | Organization ID from General settings for that same organization. |