hmahadik commited on
Commit
85c8c4c
·
verified ·
1 Parent(s): c3ed491

chore: tools.json for v6 (11 tools)

Browse files
Files changed (1) hide show
  1. tools.json +7 -45
tools.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "version": "0.1.0",
3
- "description": "Physical AI tool schema (lights, buzzer, alarms, camera, system status, plus respond fallback). Canonical mobile-actions format.",
4
  "tools": [
5
  {
6
  "function": {
@@ -42,9 +42,7 @@
42
  "description": "Brightness 0-100. Optional, default 100."
43
  }
44
  },
45
- "required": [
46
- "color"
47
- ]
48
  }
49
  }
50
  },
@@ -91,16 +89,14 @@
91
  "description": "One of 'slow', 'normal', 'fast'. Default 'normal'."
92
  }
93
  },
94
- "required": [
95
- "pattern"
96
- ]
97
  }
98
  }
99
  },
100
  {
101
  "function": {
102
  "name": "play_buzzer",
103
- "description": "Play a named pattern on a piezo buzzer wired to a binary GPIO. Only timed patterns are supported — no tunable frequency.",
104
  "parameters": {
105
  "type": "OBJECT",
106
  "properties": {
@@ -109,9 +105,7 @@
109
  "description": "Named pattern: 'beep', 'double_beep', 'siren', 'chirp', 'alarm', 'success', 'error'."
110
  }
111
  },
112
- "required": [
113
- "pattern"
114
- ]
115
  }
116
  }
117
  },
@@ -178,36 +172,6 @@
178
  }
179
  }
180
  },
181
- {
182
- "function": {
183
- "name": "capture_photo",
184
- "description": "Capture a photo from the MIPI camera on the HAT.",
185
- "parameters": {
186
- "type": "OBJECT",
187
- "properties": {
188
- "save_as": {
189
- "type": "STRING",
190
- "description": "Optional filename. Default timestamp-based."
191
- }
192
- }
193
- }
194
- }
195
- },
196
- {
197
- "function": {
198
- "name": "describe_scene",
199
- "description": "Capture a photo and describe what is visible using the Gemma3 vision model on Torq NPU.",
200
- "parameters": {
201
- "type": "OBJECT",
202
- "properties": {
203
- "question": {
204
- "type": "STRING",
205
- "description": "Optional question about the scene. Default: 'What do you see?'"
206
- }
207
- }
208
- }
209
- }
210
- },
211
  {
212
  "function": {
213
  "name": "respond",
@@ -220,11 +184,9 @@
220
  "description": "The natural-language reply to show to the user."
221
  }
222
  },
223
- "required": [
224
- "message"
225
- ]
226
  }
227
  }
228
  }
229
  ]
230
- }
 
1
  {
2
  "version": "0.1.0",
3
+ "description": "Physical AI tool schema for Coral Dev Board (SL2619) FunctionGemma demo. Canonical mobile-actions format.",
4
  "tools": [
5
  {
6
  "function": {
 
42
  "description": "Brightness 0-100. Optional, default 100."
43
  }
44
  },
45
+ "required": ["color"]
 
 
46
  }
47
  }
48
  },
 
89
  "description": "One of 'slow', 'normal', 'fast'. Default 'normal'."
90
  }
91
  },
92
+ "required": ["pattern"]
 
 
93
  }
94
  }
95
  },
96
  {
97
  "function": {
98
  "name": "play_buzzer",
99
+ "description": "Play a named pattern on the piezo buzzer on the HAT. The buzzer is binary GPIO on the Coral Dev Board (BUZZERn), so only timed patterns are supported — no tunable frequency.",
100
  "parameters": {
101
  "type": "OBJECT",
102
  "properties": {
 
105
  "description": "Named pattern: 'beep', 'double_beep', 'siren', 'chirp', 'alarm', 'success', 'error'."
106
  }
107
  },
108
+ "required": ["pattern"]
 
 
109
  }
110
  }
111
  },
 
172
  }
173
  }
174
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
175
  {
176
  "function": {
177
  "name": "respond",
 
184
  "description": "The natural-language reply to show to the user."
185
  }
186
  },
187
+ "required": ["message"]
 
 
188
  }
189
  }
190
  }
191
  ]
192
+ }