NopePrime commited on
Commit
832f24f
·
verified ·
1 Parent(s): c914915

Update prompts/utils/tools.json

Browse files
Files changed (1) hide show
  1. prompts/utils/tools.json +19 -48
prompts/utils/tools.json CHANGED
@@ -1,50 +1,21 @@
1
- [
 
2
  {
3
- "type": "function",
4
- "function": {
5
- "name": "sing_song",
6
- "description": "Select a song name that best matches user request to sing if the user asks you to sing a song.",
7
- "parameters": {
8
- "type": "object",
9
- "properties": {
10
- "song_name": {
11
- "type": "string",
12
- "enum": [
13
- "music/golden",
14
- "music/Catch_Me_If_You_Can",
15
- "music/ecstacy",
16
- "music/eve",
17
- "music/ode_to_the_nameless_martyr",
18
- "music/running_up_that_hill",
19
- "music/throttle_up",
20
- "music/what_it_sounds_like",
21
- "music/worry_slowed"
22
- ]
23
- }
24
- },
25
- "required": [
26
- "song_name"
27
- ]
28
- }
29
- }
30
- },
31
- {
32
- "type": "function",
33
- "function": {
34
- "name": "control_computer",
35
- "description": "Use this function if the user asks you to control the computer.",
36
- "parameters": {
37
- "type": "object",
38
- "properties": {
39
- "instruction": {
40
- "type": "string",
41
- "description": "instruction to control the computer"
42
- }
43
- },
44
- "required": [
45
- "instruction"
46
- ]
47
- }
48
- }
49
  }
50
- ]
 
 
1
+ {
2
+ "tools": [
3
  {
4
+ "name": "sing_song",
5
+ "description": "Select a song name that best matches user request to sing.",
6
+ "inputSchema": {
7
+ "type": "object",
8
+ "properties": {
9
+ "song_name": {
10
+ "type": "string",
11
+ "enum": [
12
+ "music/golden",
13
+ "music/running_up_that_hill"
14
+ ]
15
+ }
16
+ },
17
+ "required": ["song_name"]
18
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  }
20
+ ]
21
+ }