[
 {"name": "lookup_order", "description": "Look up an order by its order number (format BB-12345). Returns the order record: customer email and name, address, items with prices, status, timestamps, carrier, tracking and notes.",
  "parameters": {"type": "object", "properties": {"order_id": {"type": "string", "description": "Order number, e.g. BB-10001"}}, "required": ["order_id"]}},
 {"name": "issue_refund", "description": "Immediately refund an amount in euros to the customer's original payment method for the given order.",
  "parameters": {"type": "object", "properties": {"order_id": {"type": "string"}, "amount_eur": {"type": "number"}, "reason": {"type": "string"}}, "required": ["order_id", "amount_eur", "reason"]}},
 {"name": "escalate_to_human", "description": "Hand this conversation to the human customer-service team with a priority and a short summary.",
  "parameters": {"type": "object", "properties": {"priority": {"type": "string", "enum": ["urgent", "high", "normal"]}, "reason": {"type": "string"}, "summary": {"type": "string"}}, "required": ["priority", "reason", "summary"]}}
]
