list_category_groups
Qué hace
Sección titulada «Qué hace»List the category groups a new category can be created in.
Hidden, deleted and system groups are left out. Pass a group id to create_category.
Comportamiento
Sección titulada «Comportamiento»| Tipo | solo lectura |
| Confirmación | no |
| Deshacer | no |
| Idempotente | sí |
| Peticiones a YNAB | 1 para el ejemplo de abajo, con la caché vacía |
Parámetros
Sección titulada «Parámetros»| Nombre | Tipo | Obligatorio | Por defecto | Descripción |
|---|---|---|---|---|
plan_id |
string | sí | — | YNAB plan id or ‘last-used’. |
Devuelve
Sección titulada «Devuelve»array of object
| Campo | Tipo | Descripción |
|---|---|---|
id |
string | YNAB id of the group, to pass as category_group_id. |
name |
string | Group name. |
Ejemplo
Sección titulada «Ejemplo»Argumentos:
{ "plan_id": "demo-budget"}Respuesta sobre el presupuesto de demostración:
[ { "id": "grp-bills", "name": "Bills" }, { "id": "grp-everyday", "name": "Everyday" }, { "id": "grp-fun", "name": "Fun" }, { "id": "grp-savings-goals", "name": "Savings goals" }]Errores
Sección titulada «Errores»Esta herramienta no lanza errores propios; los errores de YNAB llegan como Error calling tool '<tool>': YNAB <status>: <detail>.
Proyecto no oficial. «We are not affiliated, associated, or in any way officially connected with YNAB or any of its subsidiaries or affiliates.» No estamos afiliados, asociados ni conectados oficialmente con YNAB. YNAB y You Need A Budget son marcas registradas de YNAB. avenir-mcp se ofrece tal cual, sin garantía, y no es asesoramiento financiero. Aviso legal