plano/tests/rest/hurl/domain_param_bank_tool.py

52 lines
1.6 KiB
Python
Raw Normal View History

2025-03-18 13:32:01 -07:00
tools = [
{
"name": "account_balance",
"description": "Get the account balance",
"parameters": {
"type": "object",
"properties": {
2025-03-19 17:04:46 -07:00
"account_id": {"type": "str", "description": "The account ID"}
2025-03-18 13:32:01 -07:00
},
"required": ["account_id"],
},
},
{
"name": "transfer_funds",
"description": "Transfer funds between accounts",
"parameters": {
"type": "object",
"properties": {
"from_account": {
2025-03-19 17:04:46 -07:00
"type": "str",
2025-03-18 13:32:01 -07:00
"description": "The account to transfer from",
},
"to_account": {
2025-03-19 17:04:46 -07:00
"type": "str",
2025-03-18 13:32:01 -07:00
"description": "The account to transfer to",
},
2025-03-19 17:04:46 -07:00
"amount": {"type": "int", "description": "The amount to transfer"},
2025-03-18 13:32:01 -07:00
},
"required": ["from_account", "to_account", "amount"],
},
},
{
"name": "account_transactions",
"description": "Get the account transactions",
"parameters": {
"type": "object",
"properties": {
2025-03-19 17:04:46 -07:00
"account_id": {"type": "str", "description": "The account ID"},
2025-03-18 13:32:01 -07:00
"start_date": {
2025-03-19 17:04:46 -07:00
"type": "str",
2025-03-18 13:32:01 -07:00
"description": "The start date of the transactions",
},
"end_date": {
2025-03-19 17:04:46 -07:00
"type": "str",
2025-03-18 13:32:01 -07:00
"description": "The end date of the transactions",
},
},
"required": ["account_id"],
},
},
]