list_category_groups
List the category groups a category can be created in or moved to.
A group is a heading over categories: it holds no amount of its own, so nothing here says what was budgeted or spent. A group id goes to create_category, or to update_category as category_group_id. For the money in each category use get_category_balances; to classify transactions, suggest_categories. With several plans, pass the plan id from list_plans: ‘last-used’ follows the plan last opened in YNAB. Hidden, deleted and system groups are left out. One YNAB request; changes nothing.
Verhalten
Abschnitt betitelt „Verhalten“| Art | nur lesend |
| Bestätigung | nein |
| Rückgängig | nein |
| Idempotent | ja |
| YNAB-Anfragen | 1 für das Beispiel unten, leerer Cache |
Parameter
Abschnitt betitelt „Parameter“| Name | Typ | Pflicht | Standard | Beschreibung |
|---|---|---|---|---|
plan_id |
string | ja | — | YNAB plan id or ‘last-used’. |
Rückgabe
Abschnitt betitelt „Rückgabe“array of object
| Feld | Typ | Beschreibung |
|---|---|---|
id |
string | YNAB id of the group, to pass as category_group_id. |
name |
string | Group name. |
Beispiel
Abschnitt betitelt „Beispiel“Argumente:
{ "plan_id": "demo-budget"}Antwort auf dem Demo-Budget:
[ { "id": "grp-bills", "name": "Fixkosten" }, { "id": "grp-everyday", "name": "Alltag" }, { "id": "grp-fun", "name": "Freizeit" }, { "id": "grp-savings-goals", "name": "Sparziele" }]Dieses Tool erzeugt keine eigenen Fehler; Fehler von YNAB kommen als Error calling tool '<tool>': YNAB <status>: <detail> zurück.
Inoffizielles Projekt. „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.“ Wir sind mit YNAB oder einer seiner Tochtergesellschaften oder verbundenen Unternehmen weder verbunden noch assoziiert noch in irgendeiner Weise offiziell verknüpft. Die offizielle Website von YNAB finden Sie unter https://www.ynab.com. Die Namen YNAB und You Need A Budget sowie zugehörige Namen, Handelsnamen, Zeichen, Marken, Embleme und Bilder sind eingetragene Marken von YNAB. avenir-mcp wird ohne Gewähr bereitgestellt und ist keine Finanzberatung. Rechtliche Hinweise · Datenschutz