calculateRefundEligibility
Check if an order is eligible for a refund and get the maximum refund amount. Requires agent authentication.
Instructions
Consulta si un pedido es elegible para reembolso y el importe máximo permitido. Solo lectura — no ejecuta ninguna acción. Requiere rol AGENT.
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": {
"callerToken": "<callerToken>",
"orderId": "<orderId>"
},
"name": "calculateRefundEligibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | ID del pedido en formato ord-XXX | |
| callerToken | Yes | Token de autenticación |