Get preference
get_preferenceFetch a Mercado Pago Checkout Pro preference by ID to inspect items, back URLs, notification URL, external reference, expiration, and init_point for payment flow review.
Instructions
Fetch a Checkout Pro preference by ID: items, back_urls, notification_url, external_reference, expiration, and init_point.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"preference_id": "<preference_id>"
},
"name": "get_preference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preference_id | Yes | Checkout Pro preference ID, e.g. 123456789-0a1b2c3d-... |