Rename get_order_status to get_order, add ecommerce list orders goal

This commit is contained in:
Laine
2025-04-11 17:14:10 -04:00
parent aba934e8b4
commit 4e0ff0e535
9 changed files with 193 additions and 36 deletions

View File

@@ -319,9 +319,21 @@ financial_move_money = ToolDefinition(
)
# ----- ECommerce Use Case Tools -----
ecomm_get_order_status = ToolDefinition(
name="GetOrderStatus",
description="Get status of order by order number.",
ecomm_list_orders = ToolDefinition(
name="ListOrders",
description="Get all orders for a certain email address.",
arguments=[
ToolArgument(
name="email_address",
type="string",
description="Email address of user by which to find orders",
),
],
)
ecomm_get_order = ToolDefinition(
name="GetOrder",
description="Get infromation about an order by order ID.",
arguments=[
ToolArgument(
name="order_id",