import_transactions
Qué hace
Sección titulada «Qué hace»Import the latest transactions from the plan’s linked bank accounts into YNAB.
The same as pressing Import in YNAB: nothing is deleted or changed, and YNAB never imports a transaction twice, so it is applied at once, without a preview. Use it before classifying or reconciling, so that the list is complete. Accounts without a bank connection are left as they are. Imported transactions stay unapproved for the user to review; to take one back, delete it in YNAB.
Comportamiento
Sección titulada «Comportamiento»| Tipo | escritura — oculta sin AVENIR_MCP_WRITE=1 |
| Confirmación | no |
| Deshacer | no |
| Destructiva | 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»| Campo | Tipo | Descripción |
|---|---|---|
imported |
integer | Number of transactions YNAB imported from the linked accounts. |
transaction_ids |
array of string | Their ids, e.g. for find_transactions or approve_transactions. |
message |
string | What happened and what to do next, for the agent to relay. |
Ejemplo
Sección titulada «Ejemplo»Argumentos:
{ "plan_id": "demo-budget"}Respuesta sobre el presupuesto de demostración:
{ "imported": 0, "transaction_ids": [], "message": "No new transaction to import."}Errores
Sección titulada «Errores»Esta herramienta no lanza errores propios; los errores de YNAB llegan como Error calling tool '<tool>': YNAB <status>: <detail>.
Ver también
Sección titulada «Ver también»Proyecto no oficial. «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.» No estamos afiliados, asociados ni conectados oficialmente de ninguna manera con YNAB ni con sus filiales o empresas afiliadas. El sitio web oficial de YNAB se encuentra en https://www.ynab.com. Los nombres YNAB y You Need A Budget, así como los nombres, nombres comerciales, marcas, emblemas e imágenes relacionados, son marcas registradas de YNAB. avenir-mcp se ofrece tal cual, sin garantía, y no es asesoramiento financiero. Aviso legal · Privacidad