gflow_get_credits
Read the current Google Flow credit balance for one saved profile or all profiles without spending credits; set all_profiles=true to choose an account for generation.
Instructions
Read the current Google Flow credit balance for one saved profile or all profiles - the number Flow's account menu shows, read from flow.google.com in that profile's browser (one browser launch per profile, sequential for all_profiles). Spends no credits. Set all_profiles=true when choosing an account for generation; partial profile failures remain visible in the result. Set refresh=true to renew a signed-out session (rewrites that profile's saved cookies) in a headless browser and read again (slower - one more Chrome launch per signed-out profile; a revoked session still needs gflow auth login). The tier fields (sku, service_tier, user_paygate_tier, subscription_credits) are always null: flow.google.com does not report them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | default | |
| refresh | No | ||
| all_profiles | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||