List wallets
moneylover_list_walletsList every wallet in the Money Lover account with its currency, balance and flags. Use it to resolve a wallet name into the exact spelling other tools expect, or to look up a balance before adding a transaction.
Instructions
List every wallet in the Money Lover account with its currency, balance and flags. Use it to resolve a wallet name the user mentioned into the exact spelling the other tools expect; they match it case-insensitively. For totals use moneylover_summarize_spending; for categories use moneylover_list_categories. Behavior: refresh is the only parameter. A live fetch costs tens of seconds on large accounts and leaves the fresh list in the cache for later calls, so request it only when the user needs a live figure; otherwise the list comes from a cache a few minutes old, which from_cache reports. Archived wallets are included and flagged; they cannot receive new transactions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | Set to true to bypass the short-lived cache and fetch live balances. Slow on large accounts, so leave it unset (default false) unless the user explicitly needs a live figure. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallets | Yes | ||
| from_cache | Yes | True when served from the short-lived cache; balances may then be a few minutes old. |