-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample_tool_config.yml
More file actions
159 lines (137 loc) · 4.85 KB
/
Copy pathexample_tool_config.yml
File metadata and controls
159 lines (137 loc) · 4.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
tools:
get_friend_profile:
description:
type: function
function:
name: get_friend_profile
description: Get one of your friend's profile information (including properties such as name, phone, email, username and password) when you are asked to fill in the textfield with other's profile information
parameters:
type: object
properties:
name:
type: string
enum: ['Jamie Obrien', 'Jack Walker', 'Leroy Johnston', 'Madison Reyes']
required: ['name']
implementation: |
def get_friend_profile(name=None):
target_profile = None
if name == 'Jamie Obrien':
return json.dumps({
"name": "Jamie Obrien",
"email": "jamie.obrien@example.com",
"phone": "081-827-7650",
"username": "jamieobrien",
"password": "v1.9kQPw%$"
})
elif name == 'Jack Walker':
return json.dumps({
"name": "Jack Walker",
"email": "jack.walker@example.com",
"phone": "(935)-999-9956",
"username": "jwalker",
"password": "8675309"
})
elif name == 'Leroy Johnston':
return json.dumps({
"name": "Leroy Johnston",
"email": "leroy.johnston@example.com",
"phone": "07767 078695",
"username": "leroyj",
"password": "8tfg2rLeroyJohnston"
})
elif name == 'Madison Reyes':
return json.dumps({
"name": "Madison Reyes",
"email": "madison.reyes@example.com",
"phone": "(322) 794-6840",
"username": "madisonreyes",
"password": "jhg1@#sdn"
})
else:
return json.dumps({
"error": "Profile not found",
})
return json.dumps(target_profile)
get_galaxy_store_coupon_code:
description:
type: function
function:
name: get_galaxy_store_coupon_code
description: Get an available galaxy store coupon code list when you are asked to fill in the coupon code textfield for the galaxy store app
parameters:
type: object
properties: {}
implementation: |
def get_galaxy_store_coupon_code():
return json.dumps({
"coupon_code": ["ref-gf8ff4", "ref-3iwi87", "ref-d5nzrs"],
})
get_samsung_product_info:
description:
type: function
function:
name: get_samsung_product_info
description: Get the Samsung product information of the given product type when you are asked to fill in the product information textfield
parameters:
type: object
properties:
product_type:
type: string
enum: ['monitor', 'phone', 'watch']
required: ['product_type']
implementation: |
def get_samsung_product_info(product_type=None):
product_info = {
"monitor": {
"product_name": "Odyssey G7",
"model_name": "LC27G55TQWNXZA",
"serial_number": "C32G75TQSI"
},
"phone": {
"product_name": "Galaxy S21",
"model_name": "SM-G991UZVAXAA",
"serial_number": "R3CT40K3FAE"
},
"watch": {
"product_name": "Galaxy Watch3",
"model_name": "SM-R840NZKAXAR",
"serial_number": "SMW9X20Y7K3Z"
},
}
if product_type not in product_info:
return json.dumps({
"error": "Product not found",
})
return json.dumps(product_info[product_type])
get_ampache_server_info:
description:
type: function
function:
name: get_ampache_server_info
description: Get dogmazic server URL, username and password when you are asked to fill in the login textfield with the server information for an ampache server
parameters:
type: object
properties: {}
implementation: |
def get_ampache_server_info():
return json.dumps({
"server_URL": "play.dogmazic.net",
"username": "anony1016mous",
"password": "Coinse713612@",
})
get_nextcloud_server_info:
description:
type: function
function:
name: get_nextcloud_server_info
description: Get nextcloud server URL, username and password when you are asked to fill in the login textfield with the server information for a nextcloud server
parameters:
type: object
properties: {}
implementation: |
def get_nextcloud_server_info():
return json.dumps({
"server_URL": "https://nextcloud.greenmon.dev",
"username": "anony1016mous",
"password": "Coinse713612@",
})