archive_item
ChatGPTRemoves one item (and its value) from the balance sheet; gains or losses it already realised (a sale) stay on record. dry_run: true previews. Undoable.
commit
ChatGPTSaves a previewed batch by its preview_id. Fails with preview_stale if the ledger changed since the preview in a way that alters the result.
get_debt_report
ChatGPTEvery loan with its balance, security, offsets and purpose (from funds links: what the borrowed money paid for, split into investment vs personal use), plus each property's value, secured debt, equity and LVR.
get_goals
ChatGPTThe user's goals (a net worth to reach, or debt to pay down, for the household or one party, optionally by a date) with progress, the last 12 months' trend, the projected date at that pace, whether that's on pace for the target date, and the monthly change still needed. Projections are estimates from past figures, not advice.
get_history
ChatGPTNet worth at each month, quarter or year end between two dates in one call, optionally for one party and broken down by class, kind, party, account or item, with the change over the period. Points are marked partial when items had no value recorded yet. interpolate: true draws straight lines between recorded manual values.
get_item
ChatGPTOne item in full: position, owners, links, transactions, valuations (its value history), open lots, reconciliations and the batches that wrote them.
get_losses
ChatGPTLosses the household carries forward (a business, capital or rental loss), each with its owner, the year it arose, the amount, how much has been used and what's left, plus what's left per party. Not counted in net worth.
get_net_worth
ChatGPTAssets, liabilities, net worth, investable and cash on one date, optionally for one party and broken down by class, kind, party, account or item. If items have no value on that date the result is partial: they're listed in excluded with missing_estimate. workspace: "all" gives the signed-in user's own share across every workspace (e.g. household + a business), in one currency.
get_overview
ChatGPTParties (with which one is the signed-in user), accounts, item counts, net worth headline, stale items, open reconciliation mismatches, price run status and recent batches.
get_performance
ChatGPTHow assets did over a period: start and end value, money in and out, income, gain, simple return and money-weighted annual return (XIRR), per item and in total. For one item, a class or everything; optionally one party's share.
item_detail
ChatGPTOne item for the dashboard view: its position, owners, two years of month-end values and recent activity.
link_items
ChatGPTLink two items: secured_by (loan → property), offsets (offset/cash account → loan), funds (loan → asset it paid for, with pct of the loan). remove: true deletes that link. Undoable.
list_batches
ChatGPTRecent writes, newest first, with their source document, client and status, for review or undo. Page with before.
list_items
ChatGPTAssets and liabilities with their owners, notes and current position (units, price, value, cost base, unrealised gain, staleness).
mention_items
ChatGPTItems whose name matches the query, as links the user can @-mention.
reconcile
ChatGPTCheck a statement figure against the calculated one for an item on a date (units, value in the item's currency, or cost base in the base currency). Records match or mismatch.
record
ChatGPTCreates accounts and items (with $refs and links) and records transactions, transfers, valuations, prices and reconciliation checks, all saved together. Records only what has already happened elsewhere: Worthbase doesn't move money, make payments or transfers, or place trades, and has no connection to banks or brokers. Returns a preview (preview_id, valid 30 minutes) with new items, rows, duplicates, conflicts, warnings and the net worth change; nothing is saved until the preview is committed. Listed securities, crypto and metals are market-priced (instrument); everything else is valued manually with dated valuations, kept as history. Liabilities are positive balances.
refresh_prices
ChatGPTStarts fetching the latest prices (listed securities, crypto, gold/silver) for a workspace, backfilling history for new holdings and re-valuing everything. Runs in the background for about a minute; its progress shows as price_run in the workspace overview. Prices also refresh automatically every day after the US close (22:00 UTC). At most once per 15 minutes.
save_account
ChatGPTAn account at an institution (brokerage, bank, exchange, wallet, super, loan). Without account: create (name and type required). With account: rename or change institution, type, number hint or notes (undoable). Accounts can also be created inside a record batch.
save_party
ChatGPTA legal owner: an individual, company, trust, SMSF or partnership; items are owned by parties by percentage. Without party: create (name and type required). With party: change name, type, short name or notes. link_to_me: true marks the party as the signed-in user (for "my" net worth); false unlinks. Undoable.
save_workspace
ChatGPTWithout workspace: create one (e.g. "Carter Family"); the caller owns it, and their first becomes their default. With workspace: rename it (owners and admins; only name). Confirm the name with the user first.
search_instruments
ChatGPTFind a listed security (Yahoo Finance) or crypto coin (CoinGecko) by name or code, to get the symbol, exchange or CoinGecko id to use in an item's instrument.
set_goal
ChatGPTCreate, change or remove a goal. Create with name, kind (net_worth: reach an amount; debt: bring total debt down to it, 0 = debt-free), target (base currency decimal string), and optionally target_date and party (for one person's or entity's share; default the household). Change one by passing its goal id; archive: true removes it. Undoable.
set_loss
ChatGPTRecord, change or remove a loss a party carries forward. Record with party, kind (business, capital, rental or other), year it arose and amount (base currency decimal string), and optionally used and notes. Change one by passing its loss id (e.g. to update how much has been used); archive: true removes it. Amounts are kept as given; nothing is worked out for tax. Undoable.
set_owners
ChatGPTReplace an item's ownership split (must add to 100). Once the item has history this needs correction: true, meaning the recorded split was wrong all along; history is re-derived. A real change of owner (a gift or sale to someone else) is recorded as a disposal by the old owners, not an edit. Preview first with dry_run: true when correcting.
settings_read
ChatGPTThe user's Worthbase email settings, for the plugin settings page.
settings_update
ChatGPTChanges the user's Worthbase email settings (from the plugin settings page).
show_dashboard
ChatGPTThe user's net worth at a glance, as an interactive dashboard: net worth today and its change over the last two years with a chart, assets and debts by class, the largest holdings and debts, and goals. Takes {} (the default workspace) or a workspace id.
simulate_sale
ChatGPTRead-only: what selling some or all of a holding would do — proceeds, fees, lots consumed (FIFO or specific) with each lot's cost base and gain or loss, the gain or loss per party, and the resulting position. Never writes.
undo
ChatGPTReverses a whole committed batch: everything it created, and any edit it made. With dry_run: true (the default) it only returns what would be removed or restored and the net worth change; dry_run: false applies it. Refuses if the result would leave the ledger inconsistent.
update_item
ChatGPTChanges an item's name, class (same kind), subtype, account, currency (only before any history), opened_on, flags, notes or attributes (merged; null removes a key). Doesn't change ownership. Saves directly and is undoable; dry_run: true previews.
update_values
ChatGPTA form for new values of manually valued items (property, super, cash, loans): each item with its latest value and date, out-of-date ones first. The user types values, previews the effect and saves from the form; the tool itself saves nothing.
void
ChatGPTRemoves specific transactions (txn_), valuations (val_) or prices (prc_), e.g. to replace a wrong one. Refuses if the ledger would no longer replay (e.g. voiding a buy that a later sell needs). dry_run: true previews. Undoable.
whoami
ChatGPTThe signed-in user, their workspaces and roles, their default workspace, and invites waiting for them.