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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
File,Class Name,Function Name,Description
gorilla_file_system.py,GorillaFileSystem,pwd(),"Return the current working directory path.

Returns:

•        current_working_directory (str): The current working directory path

"
gorilla_file_system.py,GorillaFileSystem,ls(a: bool),"List the contents of the current directory.

Args:

• a (bool): Show hidden files and directories

Returns:

•        current_directory_content (list): A list of the contents of the specified directory

"
gorilla_file_system.py,GorillaFileSystem,cd(folder: str),"Change the current working directory to the specified folder.

Args:

• folder (str): The folder of the directory to change to

Returns:

•        current_working_directory (str): The new current working directory path

"
gorilla_file_system.py,GorillaFileSystem,mkdir(dir_name: str),"Create a new directory in the current directory.

Args:

• dir_name (str): The name of the new directory at current directory

Returns:

•        error (dict): None if successful, or error message if directory already exists

"
gorilla_file_system.py,GorillaFileSystem,touch(file_name: str),"Create a new file in the current directory.

Args:

• file_name (str): The name of the new file in the current directory

Returns:

•        error (dict): None if successful, or error message if file already exists

"
gorilla_file_system.py,GorillaFileSystem,"echo(content: str, file_name: str)","Write content to a file at current directory or display it in the terminal.

Args:

• content (str): The content to write or display

• file_name (str): The name of the file at current directory to write the content to

Returns:

•        terminal_output (str): The content if no file name is provided, or None if written to file

"
gorilla_file_system.py,GorillaFileSystem,cat(file_name: str),"Display the contents of a file from currrent directory.

Args:

• file_name (str): The name of the file from current directory to display

Returns:

•        file_content (str): The content of the file

"
gorilla_file_system.py,GorillaFileSystem,find(path: str),"Find any file or directories under specific path that contain name in its file name.This method searches for files and directories within a specified path that matchthe given name. If no name is provided, it returns all files and directoriesin the specified path and its subdirectories.

Args:

• path (str): The directory path to start the search

"
gorilla_file_system.py,GorillaFileSystem,"wc(file_name: str, mode: str)","Count the number of lines, words, and characters in a file from current directory.

Args:

• file_name (str): Name of the file of current directory to perform wc operation onmode (str): Mode of operation ('l' for lines, 'w' for words, 'c' for characters)

"
gorilla_file_system.py,GorillaFileSystem,sort(file_name: str),"Sort the contents of a file line by line.

Args:

• file_name (str): The name of the file appeared at current directory to sort

Returns:

•        sorted_content (str): The sorted content of the file

"
gorilla_file_system.py,GorillaFileSystem,"grep(file_name: str, pattern: str)","Search for lines in a file at current directory that contain the specified pattern.

Args:

• file_name (str): The name of the file to search

• pattern (str): The pattern to search for

Returns:

•        matching_lines (list): Lines that match the pattern

"
gorilla_file_system.py,GorillaFileSystem,"xargs(command: str, file_name: str)","Execute a command with arguments read from a file or standard input.

Args:

• command (str): The command to execute with arguments

• file_name (str): The file containing arguments

Returns:

•        output (str): The result of the command execution

"
gorilla_file_system.py,GorillaFileSystem,du(human_readable: bool),"Estimate the disk usage of a directory and its contents.

Args:

• human_readable (bool): If True, returns the size in human-readable format (e

Returns:

•        disk_usage (str): The estimated disk usage

"
gorilla_file_system.py,GorillaFileSystem,"tail(file_name: str, lines: int)","Display the last part of a file.

Args:

• file_name (str): The name of the file to display

• lines (int): The number of lines to display from the end of the file

Returns:

•        last_lines (str): The last part of the file

"
gorilla_file_system.py,GorillaFileSystem,"diff(file_name1: str, file_name2: str)","Compare two files line by line at the current directory.

Args:

• file_name1 (str): The name of the first file in current directory

• file_name2 (str): The name of the second file in current directorry

Returns:

•        diff_lines (str): The differences between the two files

"
gorilla_file_system.py,GorillaFileSystem,"mv(source: str, destination: str)","Move a file or directory from one location to another. so

Args:

• source (str): Source name of the file or directory to move

• destination (str): The destination name to move the file or directory to

Returns:

•        result (str): The result of the move operation

"
gorilla_file_system.py,GorillaFileSystem,rm(file_name: str),"Remove a file or directory.

Args:

• file_name (str): The name of the file or directory to remove

Returns:

•        result (str): The result of the remove operation

"
gorilla_file_system.py,GorillaFileSystem,rmdir(dir_name: str),"Remove a directory at current directory.

Args:

• dir_name (str): The name of the directory to remove

Returns:

•        result (str): The result of the remove operation

"
gorilla_file_system.py,GorillaFileSystem,"cp(source: str, destination: str)","Copy a file or directory from one location to another.If the destination is a directory, the source file or directory will be copied into the destination directory.Both source and destination must be local to the current directory.

Args:

• source (str): The name of the file or directory to copy

• destination (str): The destination anem to copy the file or directory to

Returns:

•        result (str): The result of the copy operation or an error message if the operation fails

"
math_api.py,MathAPI,"logarithm(value: float, base: float, precision: int)","Compute the logarithm of a number with adjustable precision using mpmath.

Args:

• value (float): The number to compute the logarithm of

• base (float): The base of the logarithm

• precision (int): Desired precision for the result

"
math_api.py,MathAPI,mean(),"Calculate the mean of a list of numbers.

Returns:

•        result (float): Mean of the numbers

"
math_api.py,MathAPI,standard_deviation(),"Calculate the standard deviation of a list of numbers.

Returns:

•        result (float): Standard deviation of the numbers

"
math_api.py,MathAPI,"si_unit_conversion(value: float, unit_in: str, unit_out: str)","Convert a value from one SI unit to another.

Args:

• value (float): Value to be converted

• unit_in (str): Unit of the input value

• unit_out (str): Unit to convert the value to

Returns:

•        result (float): Converted value in the new unit

"
math_api.py,MathAPI,"imperial_si_conversion(value: float, unit_in: str, unit_out: str)","Convert a value between imperial and SI units.

Args:

• value (float): Value to be converted

• unit_in (str): Unit of the input value

• unit_out (str): Unit to convert the value to

Returns:

•        result (float): Converted value in the new unit

"
math_api.py,MathAPI,"add(a: float, b: float)","Add two numbers.

Args:

• a (float): First numberb (float): Second number

Returns:

•        result (float): Sum of the two numbers

"
math_api.py,MathAPI,"subtract(a: float, b: float)","Subtract one number from another.

Args:

• a (float): Number to subtract from

• b (float): Number to subtract

Returns:

•        result (float): Difference between the two numbers

"
math_api.py,MathAPI,"multiply(a: float, b: float)","Multiply two numbers.

Args:

• a (float): First numberb (float): Second number

Returns:

•        result (float): Product of the two numbers

"
math_api.py,MathAPI,"divide(a: float, b: float)","Divide one number by another.

Args:

• a (float): Numerator

• b (float): Denominator

Returns:

•        result (float): Quotient of the division

"
math_api.py,MathAPI,"power(base: float, exponent: float)","Raise a number to a power.

Args:

• base (float): The base number

• exponent (float): The exponent

Returns:

•        result (float): The base raised to the power of the exponent

"
math_api.py,MathAPI,"square_root(number: float, precision: int)","Calculate the square root of a number with adjustable precision using the decimal module.

Args:

• number (float): The number to calculate the square root of

• precision (int): Desired precision for the result

"
math_api.py,MathAPI,absolute_value(number: float),"Calculate the absolute value of a number.

Args:

• number (float): The number to calculate the absolute value of

Returns:

•        result (float): The absolute value of the number

"
math_api.py,MathAPI,"round_number(number: float, decimal_places: int)","Round a number to a specified number of decimal places.

Args:

• number (float): The number to round

• decimal_places (int): The number of decimal places to round to

Returns:

•        result (float): The rounded number

"
math_api.py,MathAPI,"percentage(part: float, whole: float)","Calculate the percentage of a part relative to a whole.

Args:

• part (float): The part value

• whole (float): The whole value

Returns:

•        result (float): The percentage of the part relative to the whole

"
math_api.py,MathAPI,min_value(),"Find the minimum value in a list of numbers.

Returns:

•        result (float): The minimum value in the list

"
math_api.py,MathAPI,max_value(),"Find the maximum value in a list of numbers.

Returns:

•        result (float): The maximum value in the list

"
math_api.py,MathAPI,sum_values(),"Calculate the sum of a list of numbers.

Returns:

•        result (float): The sum of all numbers in the list

"
message_api.py,MessageAPI,generate_id,"No description provided.

"
message_api.py,MessageAPI,list_users(),"List all users in the workspace.

"
message_api.py,MessageAPI,get_user_id(user: str),"Get user ID from user name.

Args:

• user (str): User name of the user

"
message_api.py,MessageAPI,login(user_id: str),"Log in a user with the given user ID.

Args:

• user_id (str): User ID of the user to log in

Returns:

•        login_status (bool): True if login was successful, False otherwise

•        message (str): A message describing the result of the login attempt

"
message_api.py,MessageAPI,"send_message(sender_id: str, receiver_id: str, message: str)","Send a message to a user.

Args:

• sender_id (str): User ID of the user sending the message

• receiver_id (str): User ID of the user to send the message to

• message (str): Message to be sent

Returns:

•        sent_status (bool): True if the message was sent successfully, False otherwise

•        message_id (int): ID of the sent message

•        message (str): A message describing the result of the send attempt

"
message_api.py,MessageAPI,"delete_message(sender_id: str, receiver_id: str, message_id: int)","Delete a message sent to a user.

Args:

• sender_id (str): User ID of the user sending the message

• receiver_id (str): User ID of the user to send the message to

• message_id (int): ID of the message to be deleted

Returns:

•        deleted_status (bool): True if the message was deleted successfully, False otherwise

•        message_id (int): ID of the deleted message

•        message (str): A message describing the result of the deletion attempt

"
message_api.py,MessageAPI,view_messages_received(),"View all messages sent to the current user.

"
message_api.py,MessageAPI,view_messages_sent(),"View all historical messages sent by the current user.

"
message_api.py,MessageAPI,add_contact(user_name: str),"Add a contact to the workspace.

Args:

• user_name (str): User name of contact to be added

Returns:

•        added_status (bool): True if the contact was added successfully, False otherwise

•        user_id (str): User ID of the added contact

•        message (str): A message describing the result of the addition attempt

"
message_api.py,MessageAPI,search_messages(keyword: str),"Search for messages containing a specific keyword.

Args:

• keyword (str): The keyword to search for in messages

Returns:

•        sender_id (str): The ID of the user who sent the message

•        receiver_id (str): The ID of the user who received the message

"
message_api.py,MessageAPI,"get_message_stats(sent_count: int, received_count: int, total_contacts: int)","Get statistics about messages for the current user.

Args:

• sent_count (int): Number of messages sent by the current user

• received_count (int): Number of messages received by the current user

• total_contacts (int): Total number of contacts the user has interacted with

"
posting_api.py,TwitterAPI,"authenticate(username: str, password: str)","Authenticate a user with username and password.

Args:

• username (str): Username of the user

• password (str): Password of the user

Returns:

•        authentication_status (bool): True if authenticated, False otherwise

"
posting_api.py,TwitterAPI,post_tweet(content: str),"Post a tweet for the authenticated user.

Args:

• content (str): Content of the tweet

Returns:

•        id (int): ID of the posted tweet

•        username (str): Username of the poster

•        content (str): Content of the tweet

"
posting_api.py,TwitterAPI,retweet(tweet_id: int),"Retweet a tweet for the authenticated user.

Args:

• tweet_id (int): ID of the tweet to retweet

Returns:

•        retweet_status (str): Status of the retweet action

"
posting_api.py,TwitterAPI,"comment(tweet_id: int, comment_content: str)","Comment on a tweet for the authenticated user.

Args:

• tweet_id (int): ID of the tweet to comment on

• comment_content (str): Content of the comment

Returns:

•        comment_status (str): Status of the comment action

"
posting_api.py,TwitterAPI,mention(tweet_id: int),"Mention specified users in a tweet.

Args:

• tweet_id (int): ID of the tweet where users are mentioned

Returns:

•        mention_status (str): Status of the mention action

"
posting_api.py,TwitterAPI,follow_user(username_to_follow: str),"Follow a user for the authenticated user.

Args:

• username_to_follow (str): Username of the user to follow

Returns:

•        follow_status (bool): True if followed, False if already following

"
posting_api.py,TwitterAPI,list_all_following(),"List all users that the authenticated user is following.

"
posting_api.py,TwitterAPI,unfollow_user(username_to_unfollow: str),"Unfollow a user for the authenticated user.

Args:

• username_to_unfollow (str): Username of the user to unfollow

Returns:

•        unfollow_status (bool): True if unfollowed, False if not following

"
posting_api.py,TwitterAPI,get_tweet(tweet_id: int),"Retrieve a specific tweet.

Args:

• tweet_id (int): ID of the tweet to retrieve

Returns:

•        id (int): ID of the retrieved tweet

•        username (str): Username of the tweet's author

•        content (str): Content of the tweet

"
posting_api.py,TwitterAPI,get_user_tweets(username: str),"Retrieve all tweets from a specific user.

Args:

• username (str): Username of the user whose tweets to retrieve

"
posting_api.py,TwitterAPI,search_tweets(keyword: str),"Search for tweets containing a specific keyword.

Args:

• keyword (str): Keyword to search for in tweets

"
posting_api.py,TwitterAPI,get_tweet_comments(tweet_id: int),"Retrieve all comments for a specific tweet.

Args:

• tweet_id (int): ID of the tweet to retrieve comments for

"
posting_api.py,TwitterAPI,get_user_stats(username: str),"Get statistics for a specific user.

Args:

• username (str): Username of the user to get statistics for

Returns:

•        tweet_count (int): Number of tweets posted by the user

•        following_count (int): Number of users the specified user is following

•        retweet_count (int): Number of retweets made by the user

"
ticket_api.py,TicketAPI,"create_ticket(title: str, description: str, priority: int)","Create a ticket in the system and queue it.

Args:

• title (str): Title of the ticket

• description (str): Description of the ticket

• priority (int): Priority of the ticket, from 1 to 5

Returns:

•        id (int): Unique identifier of the ticket

•        title (str): Title of the ticket

•        description (str): Description of the ticket

•        status (str): Current status of the ticket

•        priority (int): Priority level of the ticket

"
ticket_api.py,TicketAPI,get_ticket(ticket_id: int),"Get a specific ticket by its ID.

Args:

• ticket_id (int): ID of the ticket to retrieve

Returns:

•        id (int): Unique identifier of the ticket

•        title (str): Title of the ticket

•        description (str): Description of the ticket

•        status (str): Current status of the ticket

•        priority (int): Priority level of the ticket

•        created_by (str): Username of the ticket creator

"
ticket_api.py,TicketAPI,close_ticket(ticket_id: int),"Close a ticket.

Args:

• ticket_id (int): ID of the ticket to be closed

Returns:

•        status (str): Status of the close operation

"
ticket_api.py,TicketAPI,"resolve_ticket(ticket_id: int, resolution: str)","Resolve a ticket with a resolution.

Args:

• ticket_id (int): ID of the ticket to be resolved

• resolution (str): Resolution details for the ticket

Returns:

•        status (str): Status of the resolve operation

"
ticket_api.py,TicketAPI,edit_ticket(ticket_id: int),"Modify the details of an existing ticket.

Args:

• ticket_id (int): ID of the ticket to be changed

Returns:

•        status (str): Status of the update operation

"
ticket_api.py,TicketAPI,find_ticket(ticket_id: int),"Find a ticket by its ID.

Args:

• ticket_id (int): ID of the ticket to find

"
ticket_api.py,TicketAPI,"login(username: str, password: str)","Authenticate a user.

Args:

• username (str): Username of the user

• password (str): Password of the user

Returns:

•        success (bool): True if login was successful, False otherwise

"
ticket_api.py,TicketAPI,logout(success: bool),"Log out the current user.

Args:

• success (bool): True if logout was successful, False otherwise

"
ticket_api.py,TicketAPI,get_user_tickets(),"Get all tickets created by the current user, optionally filtered by status.

"
trading_bot.py,TradingBot,get_current_time(current_time: str),"Get the current time.

Args:

• current_time (str): Current time in HH:MM AM/PM format

"
trading_bot.py,TradingBot,update_market_status(current_time_str: str),"Update the market status based on the current time.

Args:

• current_time_str (str): Current time in HH:MM AM/PM format

Returns:

•        status (str): Status of the market ('Open' or 'Closed')

"
trading_bot.py,TradingBot,get_symbol_by_name(name: str),"Get the symbol of a stock by company name.

Args:

• name (str): Name of the company

Returns:

•        symbol (str): Symbol of the stock or ""Stock not found"" if not available

"
trading_bot.py,TradingBot,get_stock_info(symbol: str),"Get the details of a stock.

Args:

• symbol (str): Symbol that uniquely identifies the stock

Returns:

•        price (float): Current price of the stock

•        percent_change (float): Percentage change in stock price

•        volume (float): Trading volume of the stock

•        MA5 (float): 5-day Moving Average of the stock

•        MA20 (float): 20-day Moving Average of the stock

"
trading_bot.py,TradingBot,get_order_details(order_id: int),"Get the details of an order.

Args:

• order_id (int): ID of the order

Returns:

•        symbol (str): Symbol of the stock in the order

•        price (float): Price at which the order was placed

•        num_shares (int): Number of shares in the order

•        status (str): Current status of the order

"
trading_bot.py,TradingBot,cancel_order(order_id: int),"Cancel an order.

Args:

• order_id (int): ID of the order to cancel

Returns:

•        order_id (int): ID of the cancelled order

•        status (str): New status of the order after cancellation attempt

"
trading_bot.py,TradingBot,"place_order(order_type: str, symbol: str, price: float, amount: int)","Place an order.

Args:

• order_type (str): Type of the order (Buy/Sell)

• symbol (str): Symbol of the stock to trade

• price (float): Price at which to place the order

• amount (int): Number of shares to trade

Returns:

•        order_id (int): ID of the newly placed order

•        order_type (str): Type of the order (Buy/Sell)

•        status (str): Initial status of the order

•        price (float): Price at which the order was placed

•        amount (int): Number of shares in the order

"
trading_bot.py,TradingBot,"make_transaction(account_id: int, xact_type: str, amount: float)","Make a deposit or withdrawal based on specified amount.

Args:

• account_id (int): ID of the account

• xact_type (str): Transaction type (deposit or withdrawal)

• amount (float): Amount to deposit or withdraw

Returns:

•        status (str): Status of the transaction

•        new_balance (float): Updated account balance after the transaction

"
trading_bot.py,TradingBot,"get_account_info(account_id: int, balance: float, binding_card: int)","Get account information.

Args:

• account_id (int): ID of the account

• balance (float): Current balance of the account

• binding_card (int): Card number associated with the account

"
trading_bot.py,TradingBot,"login(username: str, password: str)","Handle user login.

Args:

• username (str): Username for authentication

• password (str): Password for authentication

Returns:

•        status (str): Login status message

"
trading_bot.py,TradingBot,logout(status: str),"Handle user logout.

Args:

• status (str): Logout status message

"
trading_bot.py,TradingBot,fund_account(amount: float),"Fund the account with the specified amount.

Args:

• amount (float): Amount to fund the account with

Returns:

•        status (str): Status of the funding operation

•        new_balance (float): Updated account balance after funding

"
trading_bot.py,TradingBot,add_stock_to_watchlist(symbol: str),"Add a stock to the watchlist.

Args:

• symbol (str): Symbol of the stock to add

Returns:

•        status (str): Status of the addition operation

"
trading_bot.py,TradingBot,remove_stock_from_watchlist(symbol: str),"Remove a stock from the watchlist.

Args:

• symbol (str): Symbol of the stock to remove

Returns:

•        status (str): Status of the removal operation

"
trading_bot.py,TradingBot,get_watchlist(),"Get the watchlist.

"
trading_bot.py,TradingBot,get_transaction_history(),"Get the transaction history within a specified date range.

"
trading_bot.py,TradingBot,"update_stock_price(symbol: str, new_price: float)","Update the price of a stock.

Args:

• symbol (str): Symbol of the stock to update

• new_price (float): New price of the stock

Returns:

•        symbol (str): Symbol of the updated stock

•        old_price (float): Previous price of the stock

•        new_price (float): Updated price of the stock

"
trading_bot.py,TradingBot,get_available_stocks(sector: str),"Get a list of stock symbols in the given sector.

Args:

• sector (str): The sector to retrieve stocks from (e

"
trading_bot.py,TradingBot,"filter_stocks_by_price(min_price: float, max_price: float)","Filter stocks based on a price range.

Args:

• min_price (float): Minimum stock price

• max_price (float): Maximum stock price

"
trading_bot.py,TradingBot,add_to_watchlist(),"Add a list of stocks to the watchlist.

"
trading_bot.py,TradingBot,notify_price_change(threshold: float),"Notify if there is a significant price change in the stocks.

Args:

• threshold (float): Percentage change threshold to trigger a notification

"
travel_booking.py,TravelAPI,"authenticate(client_id: str, user_first_name: str)","Authenticate the user with the travel API

Args:

• client_id (str): Required The client applications client_id supplied by App Management    client_secret (str): Required The client applications client_secret supplied by App Management    refresh_token (str): Required The refresh token obtained from the initial authentication    grant_type (str): Required The grant type of the authentication request

• user_first_name (str): Required The first name of the user    user_last_name (str): Required The last name of the user

Returns:

•        expires_in (int): The number of time it can use until the access token expires    access_token (str): The access token to be used in the Authorization header of future requests    token_type (str): The type of token    scope (str): The scope of the token

"
travel_booking.py,TravelAPI,get_budget_fiscal_year(),"Get the budget fiscal year

"
travel_booking.py,TravelAPI,register_credit_card(access_token: str),"Register a credit card

Args:

• access_token (str): Required The access token obtained from the authenticate method    card_number (str): Required The credit card number    expiration_date (str): Required The expiration date of the credit card in the format MM/YYYY    cardholder_name (str): Required The name of the cardholder    card_verification_number (int): Required The card verification number

Returns:

•        card_id (str): The ID of the registered credit card

"
travel_booking.py,TravelAPI,get_flight_cost(travel_from: str),"Get the cost of a flight in USD based on date, location, and class

Args:

• travel_from (str): Required The location the travel is from    travel_to (str): Required The location the travel is to    travel_date (str): Required The date of the travel in the format YYYY-MM-DD    travel_class (str): Required The class of the travel

Returns:

•        travel_cost (float): The cost of the travel

"
travel_booking.py,TravelAPI,get_credit_card_balance(access_token: str),"Get the balance of a credit card

Args:

• access_token (str): Required The access token obtained from the authenticate    card_id (str): Required The ID of the credit card

Returns:

•        card_balance (float): The balance of the credit card

"
travel_booking.py,TravelAPI,book_flight(access_token: str),"Book a flight given the travel information. From and To should be the airport codes in the IATA format.

Args:

• access_token (str): Required The access token obtained from the authenticate    card_id (str): Required The ID of the credit card to use for the booking    travel_date (str): Required The date of the travel in the format YYYY-MM-DD    travel_from (str): Required The location the travel is from    travel_to (str): Required The location the travel is to    travel_class (str): Required The class of the travel    travel_cost (float): Required The cost of the travel

Returns:

•        booking_id (str): The ID of the booking    transaction_id (str): The ID of the transaction    booking_status (bool): The status of the booking, True if successful, False if failed    error (str): The error message if the booking failed

"
travel_booking.py,TravelAPI,retrieve_invoice(access_token: str),"Retrieve the invoice for a booking

Args:

• access_token (str): Required The access token obtained from the authenticate    booking_id (Optional[str]): Optional The ID of the booking    insurance_id (Optional[str]): Optional The ID of the insurance

Returns:

•        invoice (dict): The invoice for the booking    error (str): The error message if the booking was not found

"
travel_booking.py,TravelAPI,list_all_airports(),"List all available airports

"
travel_booking.py,TravelAPI,cancel_booking(access_token: str),"Cancel a booking

Args:

• access_token (str): Required The access token obtained from the authenticate    booking_id (str): Required The ID of the booking

Returns:

•        cancel_status (bool): The status of the cancellation, True if successful, False if failed    error (str): The error message if the cancellation failed

"
travel_booking.py,TravelAPI,compute_exchange_rate(base_currency: str),"Compute the exchange rate between two currencies

Args:

• base_currency (str): Required The base currency    target_currency (str): Required The target currency    value (float): Required The value to convert

Returns:

•        exchanged_value (float): The value after the exchange

"
travel_booking.py,TravelAPI,verify_traveler_information(first_name: str),"Verify the traveler information

Args:

• first_name (str): Required The first name of the traveler    last_name (str): Required The last name of the traveler    date_of_birth (str): Required The date of birth of the traveler in the format YYYY-MM-DD    passport_number (str): Required The passport number of the traveler

Returns:

•        verification_status (bool): The status of the verification, True if successful, False if failed    verification_failure (str): The reason for the verification failure

"
travel_booking.py,TravelAPI,set_budget_limit(access_token: str),"Set the budget limit for the user

Args:

• access_token (str): Required The access token obtained from the authenticate    budget_limit (float): Required The budget limit to set in USD

Returns:

•        budget_limit (float): The budget limit set in USD

"
travel_booking.py,TravelAPI,get_nearest_airport_by_city(location: str),"Get the nearest airport to a location

Args:

• location (str): Required The location to find the nearest airport to

Returns:

•        nearest_airport (str): The nearest airport to the location

"
travel_booking.py,TravelAPI,purchase_insurance(access_token: str),"Purchase insurance

Args:

• access_token (str): Required The access token obtained from the authenticate    insurance_type (str): Required The type of insurance to purchase    insurance_cost (float): Required The cost of the insurance    booking_id (str): Required The ID of the booking    credit_card_id (str): Required The ID of the credit card to use for the

Returns:

•        insurance_id (str): The ID of the insurance    insurance_status (bool): The status of the insurance purchase, True if successful, False if failed    error (str): The error message if the insurance purchase failed

"
travel_booking.py,TravelAPI,contact_customer_support(booking_id: str),"Contact customer support

Args:

• booking_id (str): Required The ID of the booking    message (str): Required The message to send to customer support

Returns:

•        customer_support_message (str): The message from customer support

"
travel_booking.py,TravelAPI,get_all_credit_cards(),"Get all registered credit cards

"
vehicle_control.py,VehicleControlAPI,startEngine(ignitionMode: str),"Starts the engine of the vehicle.

Args:

• ignitionMode (str): The ignition mode of the vehicle

Returns:

•        engineState (str): The state of the engine

•        fuelLevel (float): The fuel level of the vehicle in gallons

•        batteryVoltage (float): The battery voltage of the vehicle in volts

"
vehicle_control.py,VehicleControlAPI,fillFuelTank(fuelAmount: float),"Fills the fuel tank of the vehicle. The fuel tank can hold up to 50 gallons.

Args:

• fuelAmount (float): The amount of fuel to fill in gallons

Returns:

•        fuelLevel (float): The fuel level of the vehicle in gallons

"
vehicle_control.py,VehicleControlAPI,lockDoors(unlock: bool),"Locks the doors of the vehicle.

Args:

• unlock (bool): True if the doors are to be unlocked, False otherwise

Returns:

•        lockStatus (str): The status of the lock

•        remainingUnlockedDoors (int): The number of remaining unlocked doors

"
vehicle_control.py,VehicleControlAPI,"adjustClimateControl(temperature: float, unit: str, fanSpeed: int, mode: str)","Adjusts the climate control of the vehicle.

Args:

• temperature (float): The temperature to set in degree

• unit (str): The unit of temperature

• fanSpeed (int): The fan speed to set from 0 to 100

• mode (str): The climate mode to set

Returns:

•        currentTemperature (float): The current temperature set in degree Celsius

•        climateMode (str): The current climate mode set

•        humidityLevel (float): The humidity level in percentage

"
vehicle_control.py,VehicleControlAPI,get_outside_temperature_from_google(outsideTemperature: float),"Gets the outside temperature.

Args:

• outsideTemperature (float): The outside temperature in degree Celsius

"
vehicle_control.py,VehicleControlAPI,get_outside_temperature_from_weather_com(outsideTemperature: float),"Gets the outside temperature.

Args:

• outsideTemperature (float): The outside temperature in degree Celsius

"
vehicle_control.py,VehicleControlAPI,setHeadlights(mode: str),"Sets the headlights of the vehicle.

Args:

• mode (str): The mode of the headlights

Returns:

•        headlightStatus (str): The status of the headlights

"
vehicle_control.py,VehicleControlAPI,displayCarStatus(option: str),"Displays the status of the vehicle based on the provided display option.

Args:

• option (str): The option to display

Returns:

•        status (dict): The status of the vehicle based on the option

"
vehicle_control.py,VehicleControlAPI,activateParkingBrake(mode: str),"Activates the parking brake of the vehicle.

Args:

• mode (str): The mode to set

Returns:

•        brakeStatus (str): The status of the brake

•        brakeForce (float): The force applied to the brake in Newtons

•        slopeAngle (float): The slope angle in degrees

"
vehicle_control.py,VehicleControlAPI,"setCruiseControl(speed: float, activate: bool, distanceToNextVehicle: float)","Sets the cruise control of the vehicle.

Args:

• speed (float): The speed to set in m/h

• activate (bool): True to activate the cruise control, False to deactivate

• distanceToNextVehicle (float): The distance to the next vehicle in meters

Returns:

•        cruiseStatus (str): The status of the cruise control

•        currentSpeed (float): The current speed of the vehicle in km/h

•        distanceToNextVehicle (float): The distance to the next vehicle in meters

"
vehicle_control.py,VehicleControlAPI,get_current_speed(currentSpeed: float),"Gets the current speed of the vehicle.

Args:

• currentSpeed (float): The current speed of the vehicle in km/h

"
vehicle_control.py,VehicleControlAPI,display_log(),"Displays the log messages.

"
vehicle_control.py,VehicleControlAPI,estimate_drive_feasibility_by_mileage(distance: float),"Estimates the milage of the vehicle given the distance needed to drive.

Args:

• distance (float): The distance to travel in miles

Returns:

•        canDrive (bool): True if the vehicle can drive the distance, False otherwise

"
vehicle_control.py,VehicleControlAPI,liter_to_gallon(liter: float),"Converts the liter to gallon.

Args:

• liter (float): The amount of liter to convert

Returns:

•        gallon (float): The amount of gallon converted

"
vehicle_control.py,VehicleControlAPI,gallon_to_liter(gallon: float),"Converts the gallon to liter.

Args:

• gallon (float): The amount of gallon to convert

Returns:

•        liter (float): The amount of liter converted

"
vehicle_control.py,VehicleControlAPI,"estimate_distance(cityA: str, cityB: str)","Estimates the distance between two cities.

Args:

• cityA (str): The zipcode of the first city

• cityB (str): The zipcode of the second city

Returns:

•        distance (float): The distance between the two cities in km

"
vehicle_control.py,VehicleControlAPI,get_zipcode_based_on_city(city: str),"Gets the zipcode based on the city.

Args:

• city (str): The name of the city

Returns:

•        zipcode (str): The zipcode of the city

"
vehicle_control.py,VehicleControlAPI,set_navigation(destination: str),"Navigates to the destination.

Args:

• destination (str): The destination to navigate in the format of street, city, state

Returns:

•        status (dict): The status of the navigation

"
vehicle_control.py,VehicleControlAPI,check_tire_pressure(tirePressure: dict),"Checks the tire pressure of the vehicle.

Args:

• tirePressure (dict): The tire pressure of the vehicle

"
vehicle_control.py,VehicleControlAPI,find_nearest_tire_shop(shopLocation: str),"Finds the nearest tire shop.

Args:

• shopLocation (str): The location of the nearest tire shop

"