list_accounts
List the plan’s accounts with their balances, bank link and last reconciliation.
Use it to reconcile YNAB with the bank, and to tell the user when a bank link is broken (no transaction comes in until they fix it in YNAB) or when an account has not been reconciled for months. Its ids are the account_ids other tools take. Balances are in currency units. Every account comes in one response, closed ones included, in one YNAB request; changes nothing.
Comportement
Section intitulée « Comportement »| Nature | lecture seule |
| Confirmation | non |
| Annulation | non |
| Idempotent | oui |
| Requêtes YNAB | 1 pour l’exemple ci-dessous, cache vide |
Paramètres
Section intitulée « Paramètres »| Nom | Type | Obligatoire | Défaut | Description |
|---|---|---|---|---|
plan_id |
string | oui | — | YNAB plan id or ‘last-used’. |
array of object
| Champ | Type | Description |
|---|---|---|
id |
string | YNAB id of the account. |
name |
string | Account name. |
type |
string | YNAB account type, e.g. checking, savings, creditCard, otherAsset. |
on_budget |
boolean | False for a tracking account, whose transactions take no category. |
closed |
boolean | True when the account is closed in YNAB. |
balance |
number | Balance of all transactions. |
cleared_balance |
number | Balance of the transactions the bank has shown. |
uncleared_balance |
number | Balance of the transactions the bank has not shown yet. |
bank_link |
“healthy” | “broken” | “none” | Whether YNAB imports this account from the bank: broken means the connection needs the user’s attention in YNAB, and no new transaction will come in until then. |
last_reconciled |
string | null | Date (YYYY-MM-DD) of the last reconciliation, or None if never reconciled. |
Arguments :
{ "plan_id": "demo-budget"}Réponse sur le budget de démonstration :
[ { "id": "acc-checking", "name": "Compte courant", "type": "checking", "on_budget": true, "closed": false, "balance": 3328.5, "cleared_balance": 3328.5, "uncleared_balance": 0.0, "bank_link": "healthy", "last_reconciled": "2026-08-31" }, { "id": "acc-savings", "name": "Épargne", "type": "savings", "on_budget": true, "closed": false, "balance": 600.0, "cleared_balance": 600.0, "uncleared_balance": 0.0, "bank_link": "none", "last_reconciled": null }]Cet outil ne lève pas d’erreur propre ; les erreurs de YNAB reviennent sous la forme Error calling tool '<tool>': YNAB <status>: <detail>.
Projet non officiel. « We are not affiliated, associated, or in any way officially connected with YNAB or any of its subsidiaries or affiliates. The official YNAB website can be found at https://www.ynab.com. The names YNAB and You Need A Budget, as well as related names, tradenames, marks, trademarks, emblems, and images are registered trademarks of YNAB. » Nous ne sommes ni affiliés, ni associés, ni liés officiellement de quelque manière que ce soit à YNAB ou à ses filiales et sociétés affiliées. Le site officiel de YNAB se trouve à l’adresse https://www.ynab.com. Les noms YNAB et You Need A Budget, ainsi que les noms, dénominations commerciales, marques, emblèmes et images qui s’y rattachent, sont des marques déposées de YNAB. avenir-mcp est fourni tel quel, sans garantie, et n’est pas un conseil financier. Mentions légales · Confidentialité