mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-15 14:08:08 +01:00
adding move money scenario - still a bit rough but it works
This commit is contained in:
@@ -285,4 +285,34 @@ financial_get_account_balances = ToolDefinition(
|
||||
description="email address or account ID of user",
|
||||
),
|
||||
],
|
||||
)
|
||||
|
||||
financial_move_money = ToolDefinition(
|
||||
name="FinMoveMoneyOrder",
|
||||
description="Execute a money movement order. "
|
||||
"Returns the status of the order and the account balance of the account money was moved from. ",
|
||||
|
||||
arguments=[
|
||||
ToolArgument(
|
||||
name="accountkey",
|
||||
type="string",
|
||||
description="email address or account ID of user",
|
||||
),
|
||||
ToolArgument(
|
||||
name="accounttype",
|
||||
type="string",
|
||||
description="account type, such as checking or savings",
|
||||
),
|
||||
ToolArgument(
|
||||
name="amount",
|
||||
type="string",
|
||||
description="amount to move in the order",
|
||||
),
|
||||
|
||||
ToolArgument(
|
||||
name="destinationaccount",
|
||||
type="string",
|
||||
description="account number to move the money to",
|
||||
),
|
||||
],
|
||||
)
|
||||
Reference in New Issue
Block a user