Initial add of ecommercie - order status goal and tools

This commit is contained in:
Laine
2025-04-10 16:57:15 -04:00
parent c18a40b502
commit aba934e8b4
6 changed files with 221 additions and 0 deletions

View File

@@ -316,4 +316,34 @@ financial_move_money = ToolDefinition(
description="account number to move the money to",
),
],
)
# ----- ECommerce Use Case Tools -----
ecomm_get_order_status = ToolDefinition(
name="GetOrderStatus",
description="Get status of order by order number.",
arguments=[
ToolArgument(
name="order_id",
type="string",
description="ID of order to determine status of",
),
],
)
ecomm_track_package = ToolDefinition(
name="TrackPackage",
description="Get tracking information for a package by shipping provider and tracking ID",
arguments=[
ToolArgument(
name="tracking_id",
type="string",
description="ID of package to track",
),
ToolArgument(
name="userConfirmation",
type="string",
description="Indication of user's desire to get package tracking information",
),
],
)