mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
21 lines
609 B
Python
21 lines
609 B
Python
tools = [
|
|
{
|
|
"name": "exchange_rate",
|
|
"description": "Get the current exchange rate",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"from_currency": {
|
|
"type": "str",
|
|
"description": "The currency to convert from",
|
|
"default": "USD",
|
|
},
|
|
"to_currency": {
|
|
"type": "str",
|
|
"description": "The currency to convert to",
|
|
},
|
|
},
|
|
"required": ["to_currency"],
|
|
},
|
|
},
|
|
]
|