happynood commited on
Commit
a0e8ac6
·
verified ·
1 Parent(s): 0976cff

Upload data/schemas/tool_schemas.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. data/schemas/tool_schemas.json +140 -0
data/schemas/tool_schemas.json ADDED
@@ -0,0 +1,140 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "tool_name": "get_weather",
4
+ "description": "Get the current weather for a city",
5
+ "json_schema": {
6
+ "type": "object",
7
+ "properties": {
8
+ "city": {
9
+ "type": "string",
10
+ "description": "The city name"
11
+ },
12
+ "unit": {
13
+ "type": "string",
14
+ "enum": [
15
+ "celsius",
16
+ "fahrenheit"
17
+ ],
18
+ "description": "Temperature unit"
19
+ }
20
+ },
21
+ "required": []
22
+ }
23
+ },
24
+ {
25
+ "tool_name": "web_search",
26
+ "description": "Search the web",
27
+ "json_schema": {
28
+ "type": "object",
29
+ "properties": {
30
+ "query": {
31
+ "type": "string",
32
+ "description": "Search query"
33
+ },
34
+ "max_results": {
35
+ "type": "integer",
36
+ "description": "Max number of results"
37
+ }
38
+ },
39
+ "required": []
40
+ }
41
+ },
42
+ {
43
+ "tool_name": "get_time",
44
+ "description": "Get the current time in a timezone",
45
+ "json_schema": {
46
+ "type": "object",
47
+ "properties": {
48
+ "timezone": {
49
+ "type": "string",
50
+ "description": "The timezone identifier"
51
+ }
52
+ },
53
+ "required": []
54
+ }
55
+ },
56
+ {
57
+ "tool_name": "currency_convert",
58
+ "description": "Convert currency amounts",
59
+ "json_schema": {
60
+ "type": "object",
61
+ "properties": {
62
+ "amount": {
63
+ "type": "number",
64
+ "description": "Amount to convert"
65
+ },
66
+ "from_currency": {
67
+ "type": "string"
68
+ },
69
+ "to_currency": {
70
+ "type": "string"
71
+ }
72
+ },
73
+ "required": []
74
+ }
75
+ },
76
+ {
77
+ "tool_name": "calculate",
78
+ "description": "Perform a mathematical calculation",
79
+ "json_schema": {
80
+ "type": "object",
81
+ "properties": {
82
+ "expression": {
83
+ "type": "string",
84
+ "description": "Math expression to evaluate"
85
+ }
86
+ },
87
+ "required": []
88
+ }
89
+ },
90
+ {
91
+ "tool_name": "get_stock_price",
92
+ "description": "Get the current stock price",
93
+ "json_schema": {
94
+ "type": "object",
95
+ "properties": {
96
+ "ticker": {
97
+ "type": "string",
98
+ "description": "Stock ticker symbol"
99
+ }
100
+ },
101
+ "required": []
102
+ }
103
+ },
104
+ {
105
+ "tool_name": "translate_text",
106
+ "description": "Translate text to another language",
107
+ "json_schema": {
108
+ "type": "object",
109
+ "properties": {
110
+ "text": {
111
+ "type": "string"
112
+ },
113
+ "target_language": {
114
+ "type": "string"
115
+ }
116
+ },
117
+ "required": []
118
+ }
119
+ },
120
+ {
121
+ "tool_name": "set_reminder",
122
+ "description": "Set a calendar reminder",
123
+ "json_schema": {
124
+ "type": "object",
125
+ "properties": {
126
+ "message": {
127
+ "type": "string"
128
+ },
129
+ "time": {
130
+ "type": "string",
131
+ "description": "ISO 8601 datetime"
132
+ },
133
+ "notify_minutes_before": {
134
+ "type": "integer"
135
+ }
136
+ },
137
+ "required": []
138
+ }
139
+ }
140
+ ]