Return Window Check
return_windowCheck whether an order is still inside its return or warranty window under your own policy. Send the order date, the delivery date if the window runs from delivery, the date to check (the day the return is asked for), and the window as window_days (for example 30) or window_months (for example 12 for a one-year warranty). Choose whether the window runs from delivery (default) or from the order, whether the start day counts as day 1, and whether a last day on a Saturday or Sunday moves to Monday. Get back the start date, the last day, inside or outside, the days left or the days past the last day. Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify. Errors: ok false with the reason (bad input, too large, hourly limit). Free. No model, no network, nothing you send is stored by the tool, and every answer is signed with LLPRO's key (check it at https://llpro.ai/return-window). Not legal, tax or financial advice.
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": {
"order_date": "<order_date>",
"check_date": "<check_date>"
},
"name": "return_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| check_date | Yes | The date to check: the day the customer asks to return or claim, YYYY-MM-DD. | |
| order_date | Yes | Order date, YYYY-MM-DD. | |
| starts_from | No | What the window runs from: delivery (default) or order. | delivery |
| window_days | No | Window length in days (30 for a 30-day return policy). Send this or window_months. | |
| weekend_rule | No | none (default) or next_monday: a last day on a Saturday or Sunday moves to the Monday after. | none |
| delivery_date | No | Delivery date, YYYY-MM-DD (needed when the window runs from delivery). | |
| window_months | No | Window length in calendar months (12 for a one-year warranty). Send this or window_days. | |
| start_day_counts | No | true if your policy counts the start day itself as day 1 (window_days only). Default false: day 1 is the day after. |