返品可否判定
check_return_eligibilityCheck return eligibility for an order by verifying if it was placed within the last month. Returns eligible=false for expired or already returned orders instead of raising an error.
Instructions
注文IDを指定し、注文日から1ヶ月以内かどうかに基づいて返品可能かどうかを判定する。返品期限超過・返品済みの場合も「エラー」ではなく eligible=false の正常応答として返す。
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_id": "<order_id>"
},
"name": "check_return_eligibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | 注文ID(例: ORD-01-1) |