@ar-agents/mercadopago 0.18.1 → 0.18.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ar-agents/mercadopago",
3
- "version": "0.18.1",
3
+ "version": "0.18.2",
4
4
  "description": "Mercado Pago Agent Toolkit for the Vercel AI SDK 6. 89 typed tools across the agent-relevant Mercado Pago API surface: Subscriptions, Payments, Checkout Pro, Marketplace OAuth, Order Management, Customers, Cards, Cuotas, QR, 3DS, Point devices, Webhooks, Stores+POS, Account/Balance/Settlements, Disputes, Lookups, Bank Accounts. Edge Runtime. Vercel KV adapters. OpenTelemetry. Deterministic idempotency. Programmatic HITL on irreversible ops.",
5
5
  "keywords": [
6
6
  "mercadopago",
@@ -10,7 +10,7 @@
10
10
  },
11
11
  {
12
12
  "name": "calculate_installments",
13
- "description": "Calculate cuotas (installments) options for a given amount. THE killer Argentine feature returns options like '12 cuotas sin interés de $X' (recommended_message field) which you should surface VERBA",
13
+ "description": "Calculate installment options for an amount (calcular cuotas, cuotas sin interés). THE killer Argentine feature, returns options like '12 cuotas sin interés de $X' (recommended_message field) which yo",
14
14
  "input": {
15
15
  "amount_ars": "number positive",
16
16
  "payment_method_id": "string? (e.g. visa, master, naranja)",
@@ -23,7 +23,7 @@
23
23
  },
24
24
  {
25
25
  "name": "cancel_order",
26
- "description": "Cancel an Order. Releases any auth-holds and marks the Order as canceled. For orders that have already been CAPTURED, use refund_payment instead cancel only works pre-capture. **IRREVERSIBLE — confi",
26
+ "description": "Cancel an Order. Releases any auth-holds and marks the Order as canceled. For orders that have already been CAPTURED, use refund_payment instead, cancel only works pre-capture. **IRREVERSIBLE, confirm",
27
27
  "input": {
28
28
  "order_id": "string"
29
29
  },
@@ -34,7 +34,7 @@
34
34
  },
35
35
  {
36
36
  "name": "cancel_payment",
37
- "description": "Cancel a pending or in_process payment (only works before approval). Once approved, use refund_payment instead. Common use: cancel an unpaid ticket payment that's still pending. **IRREVERSIBLE — confi",
37
+ "description": "Cancel a pending or in_process Mercado Pago payment (cancelar un pago pendiente); only works before approval. Once approved, use refund_payment instead. Common use: cancel an unpaid ticket payment tha",
38
38
  "input": {
39
39
  "payment_id": "string"
40
40
  },
@@ -46,15 +46,15 @@
46
46
  },
47
47
  {
48
48
  "name": "cancel_point_payment_intent",
49
- "description": "Cancel an OPEN point payment intent before the buyer interacts with the device. ONLY WORKS while state='OPEN' once the buyer taps, you can't cancel; refund_payment after the fact instead. **IRREVERS"
49
+ "description": "Cancel an OPEN point payment intent before the buyer interacts with the device. ONLY WORKS while state='OPEN', once the buyer taps, you can't cancel; refund_payment after the fact instead. **IRREVERSI"
50
50
  },
51
51
  {
52
52
  "name": "cancel_qr_payment",
53
- "description": "Cancel a pending QR order on a POS. Necessary if the buyer never scans otherwise the next create_qr_payment on the same POS returns 409. **IRREVERSIBLE but low-stakes since the QR has not been pai"
53
+ "description": "Cancel a pending QR order on a POS (cancelar un QR pendiente). Necessary if the buyer never scans, otherwise the next create_qr_payment on the same POS returns 409. **IRREVERSIBLE, but low-stakes sinc"
54
54
  },
55
55
  {
56
56
  "name": "cancel_subscription",
57
- "description": "Cancel an active Mercado Pago subscription. After cancellation, MP will not charge the customer again. This action is irreversible confirm with the user before calling.",
57
+ "description": "Cancel an active Mercado Pago subscription (cancelar suscripción, dar de baja). After cancellation, MP will not charge the customer again. This action is irreversible, confirm with the user before cal",
58
58
  "input": {
59
59
  "subscription_id": "string"
60
60
  },
@@ -79,7 +79,7 @@
79
79
  },
80
80
  {
81
81
  "name": "capture_payment",
82
- "description": "Capture an authorized credit-card payment that was created with capture=false. Use for hold-then-capture flows (e.g., authorize on order, capture on shipment). Optional partial amount. **MOVES MONEY —",
82
+ "description": "Capture an authorized credit-card payment (capturar un pago autorizado) that was created with capture=false. Use for hold-then-capture flows (e.g., authorize on order, capture on shipment). Optional p",
83
83
  "input": {
84
84
  "payment_id": "string",
85
85
  "amount_ars": "number? (partial capture)"
@@ -92,11 +92,11 @@
92
92
  },
93
93
  {
94
94
  "name": "charge_saved_card",
95
- "description": "Charge a previously-saved card for a returning customer. Requires customer_id + card_id (from list_customer_cards) AND a fresh CVV the user provides this session. AR Mercado Pago does NOT support CVV-"
95
+ "description": "Charge a previously-saved card (cobrar con tarjeta guardada) for a returning customer. Requires customer_id + card_id (from list_customer_cards) AND a fresh CVV the user provides this session. AR Merc"
96
96
  },
97
97
  {
98
98
  "name": "compute_marketplace_fee",
99
- "description": "PURE HELPER (no network) given a transaction amount + fee rule (% or flat ARS, with optional min/max floors), returns the exact `marketplace_fee` value in ARS to pass to create_order or create_payme"
99
+ "description": "PURE HELPER (no network), given a transaction amount + fee rule (% or flat ARS, with optional min/max floors), returns the exact `marketplace_fee` value in ARS to pass to create_order or create_paymen"
100
100
  },
101
101
  {
102
102
  "name": "confirm_3ds_challenge",
@@ -104,7 +104,7 @@
104
104
  },
105
105
  {
106
106
  "name": "create_customer",
107
- "description": "Create a Mercado Pago customer record so the buyer can save cards for future charges. Idempotent on email if a customer with that email exists, MP returns it instead of creating a duplicate. Use fin",
107
+ "description": "Create a Mercado Pago customer record (crear cliente en Mercado Pago) so the buyer can save cards for future charges. Idempotent on email, if a customer with that email exists, MP returns it instead o",
108
108
  "input": {
109
109
  "email": "string",
110
110
  "first_name": "string?",
@@ -121,7 +121,7 @@
121
121
  },
122
122
  {
123
123
  "name": "create_customer_card",
124
- "description": "Add a saved card to an existing customer using a card_token (one-time token from MP frontend Cardform agents should NEVER take raw card data, that's a PCI violation). Returns the saved CustomerCard "
124
+ "description": "Add a saved card to an existing customer using a card_token (one-time token from MP frontend Cardform, agents should NEVER take raw card data, that's a PCI violation). Returns the saved CustomerCard w"
125
125
  },
126
126
  {
127
127
  "name": "create_order",
@@ -148,7 +148,7 @@
148
148
  },
149
149
  {
150
150
  "name": "create_payment",
151
- "description": "Create a one-time payment. Two flows: (a) with a card token from MP frontend Cardform for transparent checkout; (b) without token, for non-card methods like 'account_money', 'rapipago', 'pagofacil'.",
151
+ "description": "Create a one-time Mercado Pago payment (crear un pago, cobrar con Mercado Pago). Two flows: (a) with a card token from MP frontend Cardform, for transparent checkout; (b) without token, for non-card m",
152
152
  "input": {
153
153
  "amount_ars": "number positive",
154
154
  "payment_method_id": "string (visa | master | naranja | account_money | rapipago | ...)",
@@ -173,7 +173,7 @@
173
173
  },
174
174
  {
175
175
  "name": "create_payment_preference",
176
- "description": "Create a Mercado Pago Checkout Pro preference and get back a payment URL (init_point) to send to the customer. THIS is the recommended way for an agent to take a payment when you only have a payer ema",
176
+ "description": "Create a Mercado Pago Checkout Pro payment link (crear link de pago, cobrar por Mercado Pago) and get back a payment URL (init_point) to send to the customer. THIS is the recommended way for an agent ",
177
177
  "input": {
178
178
  "items": "array of {title, quantity, unit_price, description?, picture_url?}",
179
179
  "payer_email": "string?",
@@ -192,7 +192,7 @@
192
192
  },
193
193
  {
194
194
  "name": "create_point_payment_intent",
195
- "description": "Create a payment intent on a physical Point device the device prompts the buyer to tap/insert/swipe their card. Returns immediately with intent_id; query state via get_point_payment_intent or wait f"
195
+ "description": "Create a payment intent on a physical Point device, the device prompts the buyer to tap/insert/swipe their card. Returns immediately with intent_id; query state via get_point_payment_intent or wait fo"
196
196
  },
197
197
  {
198
198
  "name": "create_pos",
@@ -200,7 +200,7 @@
200
200
  },
201
201
  {
202
202
  "name": "create_qr_payment",
203
- "description": "Generate a dynamic in-store QR for a buyer to scan with any AR wallet (Modo, BNA+, Cuenta DNI, Naranja X, Mercado Pago, etc. interop is mandated by Transferencias 3.0). Requires a pre-configured POS"
203
+ "description": "Generate a dynamic in-store payment QR (cobrar con QR de Mercado Pago) for a buyer to scan with any AR wallet (Modo, BNA+, Cuenta DNI, Naranja X, Mercado Pago, etc., interop is mandated by Transferenc"
204
204
  },
205
205
  {
206
206
  "name": "create_store",
@@ -208,7 +208,7 @@
208
208
  },
209
209
  {
210
210
  "name": "create_subscription",
211
- "description": "Create a Mercado Pago recurring subscription. Returns an init_point URL where the customer must complete the FIRST payment with their card and CVV (this is a hard MP requirement; agents cannot bypass ",
211
+ "description": "Create a Mercado Pago recurring subscription (crear suscripción, cobro recurrente con Mercado Pago). Returns an init_point URL where the customer must complete the FIRST payment with their card and CV",
212
212
  "input": {
213
213
  "customer_email": "string (email; cannot equal seller email)",
214
214
  "amount_ars": "number (positive)",
@@ -225,7 +225,7 @@
225
225
  },
226
226
  {
227
227
  "name": "create_subscription_plan",
228
- "description": "Create a REUSABLE subscription plan (preapproval_plan). Different from create_subscription: a plan defines price + frequency once, then customers subscribe to it via subscribe_to_plan. Use plans for S"
228
+ "description": "Create a reusable subscription plan (crear plan de suscripción; preapproval_plan). Different from create_subscription: a plan defines price + frequency once, then customers subscribe to it via subscri"
229
229
  },
230
230
  {
231
231
  "name": "create_webhook",
@@ -233,7 +233,7 @@
233
233
  },
234
234
  {
235
235
  "name": "delete_customer_card",
236
- "description": "Delete a saved card from a customer. Common use: customer requests removal, or expired card cleanup. **IRREVERSIBLE confirm with the user before calling. The customer must re-enter card data (PAN + ",
236
+ "description": "Delete a saved card from a customer (eliminar tarjeta guardada). Common use: customer requests removal, or expired card cleanup. **IRREVERSIBLE, confirm with the user before calling. The customer must",
237
237
  "input": {
238
238
  "customer_id": "string",
239
239
  "card_id": "string"
@@ -250,23 +250,23 @@
250
250
  },
251
251
  {
252
252
  "name": "delete_store",
253
- "description": "Delete a store. IRREVERSIBLE. Confirm with user before calling. Will fail if the store has associated POSes delete those first."
253
+ "description": "Delete a store. IRREVERSIBLE. Confirm with user before calling. Will fail if the store has associated POSes, delete those first."
254
254
  },
255
255
  {
256
256
  "name": "delete_webhook",
257
- "description": "Delete a webhook subscription. MP stops POSTing to it immediately. **IRREVERSIBLE confirm before calling. State the webhook URL + topic so the user knows which subscription is being removed. Re-subs"
257
+ "description": "Delete a webhook subscription. MP stops POSTing to it immediately. **IRREVERSIBLE, confirm before calling. State the webhook URL + topic so the user knows which subscription is being removed. Re-subsc"
258
258
  },
259
259
  {
260
260
  "name": "explain_payment_status",
261
- "description": "PURE HELPER (no network) given a Payment object (from get_payment / create_payment / handle_webhook), returns { summary, recommendedAction, final, paid, retryable } in Spanish. Translates MP's crypt"
261
+ "description": "PURE HELPER (no network), given a Payment object (from get_payment / create_payment / handle_webhook), returns { summary, recommendedAction, final, paid, retryable } in Spanish. Translates MP's crypti"
262
262
  },
263
263
  {
264
264
  "name": "find_applicable_promos",
265
- "description": "PURE HELPER (no network, sub-ms) returns the 'cuotas sin interés' promotions applicable to a given (issuer, paymentMethodId, amount, category, date) tuple. Includes the federal Ahora 3/6/12/18/24/30"
265
+ "description": "PURE HELPER (no network, sub-ms), returns the 'cuotas sin interés' promotions applicable to a given (issuer, paymentMethodId, amount, category, date) tuple. Includes the federal Ahora 3/6/12/18/24/30 "
266
266
  },
267
267
  {
268
268
  "name": "find_customer_by_email",
269
- "description": "Find an existing customer by email address. Returns the customer object if found, or null. Use before create_customer to avoid duplicate records.",
269
+ "description": "Find an existing Mercado Pago customer by email (buscar cliente por email). Returns the customer object if found, or null. Use before create_customer to avoid duplicate records.",
270
270
  "input": {
271
271
  "email": "string"
272
272
  },
@@ -284,7 +284,7 @@
284
284
  },
285
285
  {
286
286
  "name": "get_account_info",
287
- "description": "Get info about the Mercado Pago account that owns the access token: site_id (MLA=Argentina), country_id, user_type (registered, partial, etc.). Useful to verify the agent is connected to the right acc",
287
+ "description": "Get info about the connected Mercado Pago account (información de la cuenta): site_id (MLA=Argentina), country_id, user_type (registered, partial, etc.). Useful to verify the agent is connected to the",
288
288
  "input": {},
289
289
  "output": {
290
290
  "account_id": "string",
@@ -301,7 +301,7 @@
301
301
  },
302
302
  {
303
303
  "name": "get_customer_card",
304
- "description": "Get details of a single saved card by (customer_id, card_id). Returns last 4 digits, expiration, brand, issuer. PURE READ useful before charge_saved_card to confirm the card is still valid."
304
+ "description": "Get details of a single saved card by (customer_id, card_id). Returns last 4 digits, expiration, brand, issuer. PURE READ, useful before charge_saved_card to confirm the card is still valid."
305
305
  },
306
306
  {
307
307
  "name": "get_dispute",
@@ -309,7 +309,7 @@
309
309
  },
310
310
  {
311
311
  "name": "get_merchant_order",
312
- "description": "Get a merchant_order with all its associated payments + shipments. MerchantOrder is the parent entity for Payments associated with a single Preference one Order can have multiple partial Payments (r"
312
+ "description": "Get a merchant_order with all its associated payments + shipments. MerchantOrder is the parent entity for Payments associated with a single Preference, one Order can have multiple partial Payments (re"
313
313
  },
314
314
  {
315
315
  "name": "get_order",
@@ -321,7 +321,7 @@
321
321
  },
322
322
  {
323
323
  "name": "get_payment",
324
- "description": "Fetch a single payment by ID. Use to confirm status after webhook arrives, or to inspect details (status_detail explains rejections).",
324
+ "description": "Fetch a Mercado Pago payment by ID (consultar un pago). Use to confirm status after webhook arrives, or to inspect details (status_detail explains rejections).",
325
325
  "input": {
326
326
  "payment_id": "string"
327
327
  },
@@ -329,7 +329,7 @@
329
329
  },
330
330
  {
331
331
  "name": "get_payment_preference",
332
- "description": "Fetch a Checkout Pro preference by ID. Returns the preference config and current init_point URLs. Use to inspect a previously-created link.",
332
+ "description": "Fetch a Checkout Pro preference / payment link by ID (consultar un link de pago). Returns the preference config and current init_point URLs. Use to inspect a previously-created link.",
333
333
  "input": {
334
334
  "preference_id": "string"
335
335
  },
@@ -345,7 +345,7 @@
345
345
  },
346
346
  {
347
347
  "name": "get_refund",
348
- "description": "Fetch a single refund by (payment_id, refund_id). Returns the Refund object with amount, status, date_created. PURE READ useful to verify a refund processed or to reconcile partial-refund history."
348
+ "description": "Fetch a single refund by (payment_id, refund_id). Returns the Refund object with amount, status, date_created. PURE READ, useful to verify a refund processed or to reconcile partial-refund history."
349
349
  },
350
350
  {
351
351
  "name": "get_settlement",
@@ -361,7 +361,7 @@
361
361
  },
362
362
  {
363
363
  "name": "get_subscription_status",
364
- "description": "Check the current status of a Mercado Pago subscription. Use this to confirm the customer completed the first payment (status becomes 'authorized') or to inspect the next charge date.",
364
+ "description": "Check the status of a Mercado Pago subscription (consultar estado de una suscripción). Use this to confirm the customer completed the first payment (status becomes 'authorized') or to inspect the next",
365
365
  "input": {
366
366
  "subscription_id": "string (MP preapproval ID)"
367
367
  },
@@ -403,11 +403,11 @@
403
403
  },
404
404
  {
405
405
  "name": "list_bank_accounts",
406
- "description": "List the bank accounts (CBUs) the seller has registered with MP for receiving payouts. Returns an array the one with `is_default: true` is where settlements (release_money) go. USE BEFORE list_settl"
406
+ "description": "List the bank accounts (CBUs) the seller has registered with MP for receiving payouts. Returns an array, the one with `is_default: true` is where settlements (release_money) go. USE BEFORE list_settle"
407
407
  },
408
408
  {
409
409
  "name": "list_customer_cards",
410
- "description": "List the saved cards for a customer. Returns array with last 4 digits, expiration, payment method (visa, master, naranja, etc.). The card_id can be used in subsequent create_payment calls to charge a ",
410
+ "description": "List a customer's saved cards (listar tarjetas guardadas). Returns array with last 4 digits, expiration, payment method (visa, master, naranja, etc.). The card_id can be used in subsequent create_paym",
411
411
  "input": {
412
412
  "customer_id": "string"
413
413
  },
@@ -423,15 +423,15 @@
423
423
  },
424
424
  {
425
425
  "name": "list_issuers",
426
- "description": "List card issuers (banks) that support a payment_method_id. Optionally filter by `bin` (first 6 digits of the card) for accurate issuer detection. Useful with calculate_installments issuer-specific "
426
+ "description": "List card issuers (banks) that support a payment_method_id. Optionally filter by `bin` (first 6 digits of the card) for accurate issuer detection. Useful with calculate_installments, issuer-specific p"
427
427
  },
428
428
  {
429
429
  "name": "list_payment_disputes",
430
- "description": "List all disputes / chargebacks raised against a payment. Read-only resolution is dashboard-only. Surface the dashboard URL `https://www.mercadopago.com.ar/disputes/{dispute_id}` to the user when th"
430
+ "description": "List all disputes / chargebacks raised against a payment. Read-only, resolution is dashboard-only. Surface the dashboard URL `https://www.mercadopago.com.ar/disputes/{dispute_id}` to the user when the"
431
431
  },
432
432
  {
433
433
  "name": "list_payment_methods",
434
- "description": "List all payment methods enabled for the seller's MP account (visa, master, naranja, naranja_x, cabal, account_money, rapipago, pagofacil, etc.). Use to validate which methods you can offer the custom",
434
+ "description": "List the payment methods enabled for the seller's Mercado Pago account (medios de pago disponibles) (visa, master, naranja, naranja_x, cabal, account_money, rapipago, pagofacil, etc.). Use to validate",
435
435
  "input": {},
436
436
  "output": {
437
437
  "count": "number",
@@ -440,7 +440,7 @@
440
440
  },
441
441
  {
442
442
  "name": "list_point_devices",
443
- "description": "List the physical Point devices (Smart, Tap to Pay, etc.) linked to the seller's MP account. Distinct from logical POS these are actual terminals at brick-and-mortar shops. Returns each device's id "
443
+ "description": "List the physical Point devices (Smart, Tap to Pay, etc.) linked to the seller's MP account. Distinct from logical POS, these are actual terminals at brick-and-mortar shops. Returns each device's id ("
444
444
  },
445
445
  {
446
446
  "name": "list_pos",
@@ -448,7 +448,7 @@
448
448
  },
449
449
  {
450
450
  "name": "list_refunds",
451
- "description": "List all refunds for a given payment. Returns array of Refund objects. Useful to confirm a refund was processed or to inspect partial-refund history.",
451
+ "description": "List all refunds for a payment (listar reembolsos de un pago). Returns array of Refund objects. Useful to confirm a refund was processed or to inspect partial-refund history.",
452
452
  "input": {
453
453
  "payment_id": "string"
454
454
  },
@@ -460,11 +460,11 @@
460
460
  },
461
461
  {
462
462
  "name": "list_settlements",
463
- "description": "List settlements (release_money) i.e. transfers from the MP wallet to the seller's registered bank account (CBU). USE WHEN the user asks 'cuándo me deposita MP' or for monthly bank-conciliation repo"
463
+ "description": "List settlements (release_money), i.e. transfers from the MP wallet to the seller's registered bank account (CBU). USE WHEN the user asks 'cuándo me deposita MP' or for monthly bank-conciliation repor"
464
464
  },
465
465
  {
466
466
  "name": "list_settlements_all",
467
- "description": "Collect ALL settlements matching a filter auto-paginates. Pass `max_items` to cap. Use for monthly bank-conciliation reports."
467
+ "description": "Collect ALL settlements matching a filter, auto-paginates. Pass `max_items` to cap. Use for monthly bank-conciliation reports."
468
468
  },
469
469
  {
470
470
  "name": "list_stores",
@@ -472,7 +472,7 @@
472
472
  },
473
473
  {
474
474
  "name": "list_subscription_payments",
475
- "description": "List the auto-charge attempts (authorized_payments) under a subscription. Useful for 'show me the cobros del último mes for this client' or to debug a failing recurring charge."
475
+ "description": "List the auto-charges under a subscription (cobros de una suscripción; authorized_payments). Useful for 'show me the cobros del último mes for this client' or to debug a failing recurring charge."
476
476
  },
477
477
  {
478
478
  "name": "list_subscription_plans",
@@ -501,7 +501,7 @@
501
501
  },
502
502
  {
503
503
  "name": "oauth_exchange_code",
504
- "description": "Exchange the authorization code (from the OAuth redirect) for an `OAuthToken`. Returns access_token, refresh_token, user_id, and expires_in. **PERSIST the entire response** refresh_token is long-liv",
504
+ "description": "Exchange the authorization code (from the OAuth redirect) for an `OAuthToken`. Returns access_token, refresh_token, user_id, and expires_in. **PERSIST the entire response**, refresh_token is long-live",
505
505
  "input": {
506
506
  "code": "string",
507
507
  "redirect_uri": "string (must EXACTLY match the URL used in oauth_authorize_url)"
@@ -515,7 +515,7 @@
515
515
  },
516
516
  {
517
517
  "name": "oauth_refresh_token",
518
- "description": "Refresh a per-seller access_token using the saved refresh_token. Call PROACTIVELY before expires_in elapses, or REACTIVELY on a 401 from a per-seller MercadoPagoClient. Returns a fresh OAuthToken — pe",
518
+ "description": "Refresh a per-seller access_token using the saved refresh_token. Call PROACTIVELY before expires_in elapses, or REACTIVELY on a 401 from a per-seller MercadoPagoClient. Returns a fresh OAuthToken, per",
519
519
  "input": {
520
520
  "refresh_token": "string"
521
521
  },
@@ -527,7 +527,7 @@
527
527
  },
528
528
  {
529
529
  "name": "pause_subscription",
530
- "description": "Pause an authorized Mercado Pago subscription. Charges stop until resumed. Only works on subscriptions in 'authorized' status.",
530
+ "description": "Pause an authorized Mercado Pago subscription (pausar suscripción). Charges stop until resumed. Only works on subscriptions in 'authorized' status.",
531
531
  "input": {
532
532
  "subscription_id": "string"
533
533
  },
@@ -539,7 +539,7 @@
539
539
  },
540
540
  {
541
541
  "name": "refund_payment",
542
- "description": "Refund an approved payment. Pass amount for partial refund; omit for full refund. Idempotency key is auto-generated based on paymentId+amount to prevent double-refunds on retries. **IRREVERSIBLE AND M",
542
+ "description": "Refund an approved Mercado Pago payment (reembolsar un pago, hacer una devolución). Pass amount for partial refund; omit for full refund. Idempotency key is auto-generated based on paymentId+amount to",
543
543
  "input": {
544
544
  "payment_id": "string",
545
545
  "amount_ars": "number? (omit for full refund)"
@@ -554,11 +554,11 @@
554
554
  },
555
555
  {
556
556
  "name": "register_bank_account",
557
- "description": "Register a new bank account (CBU) for the seller. NOTE: MP usually requires this through the dashboard for compliance this endpoint may not work for all accounts. If it fails with 403, redirect the "
557
+ "description": "Register a new bank account (CBU) for the seller. NOTE: MP usually requires this through the dashboard for compliance, this endpoint may not work for all accounts. If it fails with 403, redirect the u"
558
558
  },
559
559
  {
560
560
  "name": "resume_subscription",
561
- "description": "Resume a paused Mercado Pago subscription. Charges resume on the next scheduled date. Only works on subscriptions in 'paused' status.",
561
+ "description": "Resume a paused Mercado Pago subscription (reactivar suscripción). Charges resume on the next scheduled date. Only works on subscriptions in 'paused' status.",
562
562
  "input": {
563
563
  "subscription_id": "string"
564
564
  },
@@ -574,7 +574,7 @@
574
574
  },
575
575
  {
576
576
  "name": "search_payments",
577
- "description": "Search payments with filters. Most common: by external_reference (your-system identifier) to find all payments for an order, or by status='approved' to list successful charges in a date range. Returns",
577
+ "description": "Search Mercado Pago payments with filters (buscar pagos). Most common: by external_reference (your-system identifier) to find all payments for an order, or by status='approved' to list successful char",
578
578
  "input": {
579
579
  "external_reference": "string?",
580
580
  "status": "string?",
@@ -593,7 +593,7 @@
593
593
  },
594
594
  {
595
595
  "name": "search_payments_all",
596
- "description": "Collect ALL payments matching a filter auto-paginates under the hood. Returns an array (NOT paginated) so the agent doesn't have to manage offset/limit loops manually. SAFETY: pass `max_items` to ca"
596
+ "description": "Collect ALL payments matching a filter, auto-paginates under the hood. Returns an array (NOT paginated) so the agent doesn't have to manage offset/limit loops manually. SAFETY: pass `max_items` to cap"
597
597
  },
598
598
  {
599
599
  "name": "search_subscriptions",
@@ -601,15 +601,15 @@
601
601
  },
602
602
  {
603
603
  "name": "subscribe_to_plan",
604
- "description": "Subscribe a customer to an existing reusable plan. Returns a Preapproval with init_point URL where the customer completes first payment. Cleaner than create_subscription when you have fixed tiers."
604
+ "description": "Subscribe a customer to an existing plan (suscribir un cliente a un plan). Returns a Preapproval with init_point URL where the customer completes first payment. Cleaner than create_subscription when y"
605
605
  },
606
606
  {
607
607
  "name": "update_customer",
608
- "description": "Update a customer's profile (first_name, last_name, phone, identification, address, default_card). MP merges the patch fields you don't send remain unchanged. Use to keep customer records in sync (e"
608
+ "description": "Update a customer's profile (first_name, last_name, phone, identification, address, default_card). MP merges the patch, fields you don't send remain unchanged. Use to keep customer records in sync (e."
609
609
  },
610
610
  {
611
611
  "name": "update_merchant_order",
612
- "description": "Update a merchant_order typically to add items or shipping info. Most agent flows don't need this; use only when integrating with a custom shipping flow that requires updating the MO mid-lifecycle."
612
+ "description": "Update a merchant_order, typically to add items or shipping info. Most agent flows don't need this; use only when integrating with a custom shipping flow that requires updating the MO mid-lifecycle."
613
613
  },
614
614
  {
615
615
  "name": "update_order",
@@ -643,7 +643,7 @@
643
643
  },
644
644
  {
645
645
  "name": "update_subscription_plan",
646
- "description": "Update a subscription plan's reason / amount / status / back_url. Existing customer subscriptions to the plan are NOT automatically updated only NEW subscribers get the new pricing."
646
+ "description": "Update a subscription plan's reason / amount / status / back_url. Existing customer subscriptions to the plan are NOT automatically updated, only NEW subscribers get the new pricing."
647
647
  },
648
648
  {
649
649
  "name": "update_webhook",
@@ -651,7 +651,7 @@
651
651
  },
652
652
  {
653
653
  "name": "validate_tax_id",
654
- "description": "PURE HELPER (no network, sub-ms) validates a tax ID against the appropriate country algorithm. Supports AR (DNI/CUIT/CUIL with modulo-11), BR (CPF/CNPJ with two-step weighted modulo), MX (RFC struct"
654
+ "description": "PURE HELPER (no network, sub-ms), validates a tax ID against the appropriate country algorithm. Supports AR (DNI/CUIT/CUIL with modulo-11), BR (CPF/CNPJ with two-step weighted modulo), MX (RFC structu"
655
655
  }
656
656
  ],
657
657
  "name": "@ar-agents/mercadopago",