tinyjuice 0.2.1

Pluggable token compression for OpenHuman.
Documentation
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
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
[
  {
    "function": {
      "description": "Tool to abort a repository migration that is queued or in progress. Use when you need to cancel an ongoing migration operation.",
      "name": "GITHUB_ABORT_REPOSITORY_MIGRATION",
      "parameters": {
        "description": "Request parameters for aborting a repository migration.",
        "properties": {
          "clientMutationId": {
            "description": "A unique identifier for the client performing the mutation. This can be used to track the mutation in logs or for idempotency purposes.",
            "examples": [
              "mutation-12345",
              "abort-migration-xyz"
            ],
            "title": "Client Mutation Id",
            "type": "string"
          },
          "migrationId": {
            "description": "The ID of the repository migration to abort. This is the migration ID returned when a migration was queued (e.g., 'RM_kgDOABCDEF').",
            "examples": [
              "RM_kgDOABCDEF",
              "RM_kgDOGw8pTA"
            ],
            "title": "Migration Id",
            "type": "string"
          }
        },
        "required": [
          "migrationId"
        ],
        "title": "AbortRepositoryMigrationRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Accepts a PENDING repository invitation that has been issued to the authenticated user.",
      "name": "GITHUB_ACCEPT_REPOSITORY_INVITATION",
      "parameters": {
        "description": "Request schema for accepting a repository invitation.",
        "properties": {
          "invitation_id": {
            "description": "Unique identifier of the repository invitation sent TO the authenticated user. Get this ID by listing your pending invitations using the 'List repository invitations for the authenticated user' action.",
            "minimum": 1,
            "title": "Invitation Id",
            "type": "integer"
          }
        },
        "required": [
          "invitation_id"
        ],
        "title": "AcceptRepositoryInvitationRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Adds GitHub Apps to the list of apps allowed to push to a protected branch. The branch must already have protection rules with restrictions enabled. This endpoint only works for organization repositories, not personal repositories. Apps must be installed on the repository with 'contents' write permissions.",
      "name": "GITHUB_ADD_APP_ACCESS_RESTRICTIONS",
      "parameters": {
        "description": "Request schema defining the target repository and branch for applying app access restrictions.",
        "properties": {
          "apps": {
            "description": "The list of GitHub App slugs with push access to grant. Apps must be installed on the repository and have 'contents' write permissions. The app slug is the URL-friendly name of the GitHub App (e.g., 'github-actions', 'dependabot').",
            "examples": [
              [
                "github-actions",
                "dependabot"
              ]
            ],
            "items": {
              "type": "string"
            },
            "title": "Apps",
            "type": "array"
          },
          "branch": {
            "description": "The name of the branch to which restrictions will be applied. Wildcard characters (e.g., '*') are not allowed in the branch name when using this REST API endpoint. For operations involving wildcard branch names, consult the GitHub GraphQL API.",
            "examples": [
              "main"
            ],
            "title": "Branch",
            "type": "string"
          },
          "owner": {
            "description": "The organization name that owns the repository. This field is not case-sensitive. Note: This endpoint only works for organization-owned repositories.",
            "examples": [
              "my-org"
            ],
            "title": "Owner",
            "type": "string"
          },
          "repo": {
            "description": "The name of the repository, without the `.git` extension. This field is not case-sensitive.",
            "examples": [
              "hello-world"
            ],
            "title": "Repo",
            "type": "string"
          }
        },
        "required": [
          "owner",
          "repo",
          "branch",
          "apps"
        ],
        "title": "AddAppAccessRestrictionsRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Adds a GitHub user as a repository collaborator, or updates their permission if already a collaborator; `permission` applies to organization-owned repositories (personal ones default to 'push' and ignore this field), and an invitation may be created or permissions updated directly.",
      "name": "GITHUB_ADD_A_REPOSITORY_COLLABORATOR",
      "parameters": {
        "description": "Request schema for adding a collaborator to a GitHub repository.",
        "properties": {
          "owner": {
            "description": "The account owner of the repository. This name is not case sensitive.",
            "title": "Owner",
            "type": "string"
          },
          "permission": {
            "default": "push",
            "description": "Permission level for the collaborator. For organization-owned repositories, valid values are `pull` (read-only), `triage` (manage issues/PRs), `push` (read/write), `maintain` (manage most settings), `admin` (full control), or a custom repository role name if defined by the owning organization. This parameter is ignored for personal repositories, which grant `push` access.",
            "examples": [
              "pull",
              "triage",
              "push",
              "maintain",
              "admin",
              "custom_role_name"
            ],
            "title": "Permission",
            "type": "string"
          },
          "repo": {
            "description": "The name of the repository, without the `.git` extension. This name is not case sensitive.",
            "title": "Repo",
            "type": "string"
          },
          "username": {
            "description": "The GitHub handle for the user account to add as a collaborator. Cannot be the same as the repository owner, as owners are automatically collaborators.",
            "title": "Username",
            "type": "string"
          }
        },
        "required": [
          "owner",
          "repo",
          "username"
        ],
        "title": "AddARepositoryCollaboratorRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Adds assignees to a GitHub issue. This action only adds users - it does not remove existing assignees. Changes are silently ignored if the authenticated user lacks push access to the repository.",
      "name": "GITHUB_ADD_ASSIGNEES_TO_AN_ISSUE",
      "parameters": {
        "description": "Request model for adding assignees to a GitHub issue.",
        "properties": {
          "assignees": {
            "description": "A list of GitHub usernames to add as assignees to the issue. Up to 10 assignees total can be on an issue. NOTE: This endpoint ADDS assignees - it does not replace existing ones. Users already assigned are kept. To remove assignees, use the 'remove_assignees_from_an_issue' action instead. The authenticated user must have push access to the repository; otherwise changes are silently ignored.",
            "examples": [
              [
                "octocat",
                "hubot"
              ],
              [
                "dev-user1"
              ]
            ],
            "items": {
              "type": "string"
            },
            "title": "Assignees",
            "type": "array"
          },
          "issue_number": {
            "description": "The unique number identifying the issue within the repository. Must be a positive integer (GitHub issue numbers start at 1).",
            "examples": [
              123,
              42
            ],
            "minimum": 1,
            "title": "Issue Number",
            "type": "integer"
          },
          "owner": {
            "description": "The username of the account or the organization name that owns the repository. This field is not case sensitive.",
            "examples": [
              "octocat",
              "my-company"
            ],
            "title": "Owner",
            "type": "string"
          },
          "repo": {
            "description": "The name of the repository, without the `.git` extension. This field is not case sensitive.",
            "examples": [
              "hello-world",
              "my-internal-project"
            ],
            "title": "Repo",
            "type": "string"
          }
        },
        "required": [
          "owner",
          "repo",
          "issue_number"
        ],
        "title": "AddAssigneesToAnIssueRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Adds one or more email addresses (which will be initially unverified) to the authenticated user's GitHub account; use this to associate new emails, noting an email verified for another account will error, while an existing email for the current user is accepted.",
      "name": "GITHUB_ADD_EMAIL_ADDRESS_FOR_AUTHENTICATED_USER",
      "parameters": {
        "description": "Request model for GitHub POST /user/emails. Requires a JSON array of emails.",
        "properties": {
          "emails": {
            "description": "Array of email addresses to add to the authenticated user account. Must contain at least one email address.",
            "items": {
              "type": "string"
            },
            "minItems": 1,
            "title": "Emails",
            "type": "array"
          }
        },
        "required": [
          "emails"
        ],
        "title": "AddEmailAddressForAuthenticatedUserRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Tool to add a custom field to a user-owned GitHub Projects V2 project. Use when you need to add fields like status, priority, or custom data to organize project items.",
      "name": "GITHUB_ADD_FIELD_TO_USER_PROJECT",
      "parameters": {
        "properties": {
          "data_type": {
            "description": "The data type of the field. Use 'single_select' for dropdown fields, 'iteration' for sprint fields, or other types for simple fields.",
            "enum": [
              "text",
              "single_select",
              "number",
              "date",
              "iteration"
            ],
            "title": "Data Type",
            "type": "string"
          },
          "iteration_configuration": {
            "additionalProperties": false,
            "description": "Configuration for iteration fields.",
            "properties": {
              "duration": {
                "description": "The duration of the iteration in days.",
                "examples": [
                  7,
                  14
                ],
                "minimum": 1,
                "title": "Duration",
                "type": "integer"
              },
              "start_day": {
                "description": "The day of the week when the iteration starts (1=Monday, 7=Sunday).",
                "examples": [
                  1,
                  5
                ],
                "maximum": 7,
                "minimum": 1,
                "title": "Start Day",
                "type": "integer"
              }
            },
            "required": [
              "duration",
              "start_day"
            ],
            "title": "IterationConfiguration",
            "type": "object"
          },
          "name": {
            "description": "The name of the field to create.",
            "examples": [
              "Status",
              "Priority",
              "Sprint"
            ],
            "title": "Name",
            "type": "string"
          },
          "project_number": {
            "description": "The project's number.",
            "examples": [
              1,
              22
            ],
            "minimum": 1,
            "title": "Project Number",
            "type": "integer"
          },
          "single_select_options": {
            "description": "Options for single select fields. Required when data_type is 'single_select'.",
            "items": {
              "description": "Option for single select field.",
              "properties": {
                "color": {
                  "description": "The color for the option (e.g., 'red', 'blue', 'green').",
                  "examples": [
                    "red",
                    "blue",
                    "green"
                  ],
                  "title": "Color",
                  "type": "string"
                },
                "description": {
                  "description": "A description for the option.",
                  "examples": [
                    "Tasks that are not started yet"
                  ],
                  "title": "Description",
                  "type": "string"
                },
                "name": {
                  "description": "The name of the option.",
                  "examples": [
                    "To Do",
                    "In Progress",
                    "Done"
                  ],
                  "title": "Name",
                  "type": "string"
                }
              },
              "required": [
                "name"
              ],
              "title": "SingleSelectOption",
              "type": "object"
            },
            "title": "Single Select Options",
            "type": "array"
          },
          "username": {
            "description": "The handle for the GitHub user account.",
            "examples": [
              "octocat",
              "composio-dev"
            ],
            "title": "Username",
            "type": "string"
          }
        },
        "required": [
          "username",
          "project_number",
          "name",
          "data_type"
        ],
        "title": "AddFieldToUserProjectRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Tool to add an issue or pull request to a user-owned GitHub project. Use when you need to add existing repository items to a project board.",
      "name": "GITHUB_ADD_ITEM_TO_USER_PROJECT",
      "parameters": {
        "properties": {
          "id": {
            "description": "The unique identifier of the issue or pull request to add to the project. Required if owner, repo, and number are not provided.",
            "title": "Id",
            "type": "integer"
          },
          "number": {
            "description": "The issue or pull request number. Required with owner and repo if id is not provided.",
            "title": "Number",
            "type": "integer"
          },
          "owner": {
            "description": "The repository owner login. Required with repo and number if id is not provided.",
            "title": "Owner",
            "type": "string"
          },
          "project_number": {
            "description": "The project's number.",
            "examples": [
              1,
              22
            ],
            "title": "Project Number",
            "type": "integer"
          },
          "repo": {
            "description": "The repository name. Required with owner and number if id is not provided.",
            "title": "Repo",
            "type": "string"
          },
          "type": {
            "description": "The type of item to add to the project. Must be either Issue or PullRequest.",
            "enum": [
              "Issue",
              "PullRequest"
            ],
            "title": "Type",
            "type": "string"
          },
          "username": {
            "description": "The handle for the GitHub user account.",
            "examples": [
              "octocat"
            ],
            "title": "Username",
            "type": "string"
          }
        },
        "required": [
          "username",
          "project_number",
          "type"
        ],
        "title": "AddItemToUserProjectRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Adds labels (provided in the request body) to a repository issue; labels that do not already exist are created.",
      "name": "GITHUB_ADD_LABELS_TO_AN_ISSUE",
      "parameters": {
        "description": "Specifies the repository issue to which labels will be added.",
        "properties": {
          "issue_number": {
            "description": "Positive integer that uniquely identifies the issue within the repository. Must be >= 1.",
            "examples": [
              42,
              101
            ],
            "minimum": 1,
            "title": "Issue Number",
            "type": "integer"
          },
          "labels": {
            "description": "Array of label names to add to the issue. Labels that don't exist will be created automatically.",
            "examples": [
              [
                "bug",
                "enhancement"
              ],
              [
                "documentation",
                "help wanted"
              ]
            ],
            "items": {
              "type": "string"
            },
            "title": "Labels",
            "type": "array"
          },
          "owner": {
            "description": "Username or organization name owning the repository (case-insensitive).",
            "examples": [
              "octocat",
              "my-organization"
            ],
            "title": "Owner",
            "type": "string"
          },
          "repo": {
            "description": "Repository name, without the `.git` extension (case-insensitive).",
            "examples": [
              "Spoon-Knife",
              "my-awesome-project"
            ],
            "title": "Repo",
            "type": "string"
          }
        },
        "required": [
          "owner",
          "repo",
          "issue_number",
          "labels"
        ],
        "title": "AddLabelsToAnIssueRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Adds new custom labels to an existing self-hosted runner for an organization; existing labels are not removed, and duplicates are not added.",
      "name": "GITHUB_ADD_ORG_RUNNER_LABELS",
      "parameters": {
        "description": "Request schema for adding custom labels to a self-hosted runner for an organization.",
        "properties": {
          "labels": {
            "description": "A list of custom label names to add to the self-hosted runner. Previously applied labels are not removed.",
            "examples": [
              [
                "new-label",
                "gpu-runner"
              ]
            ],
            "items": {
              "type": "string"
            },
            "title": "Labels",
            "type": "array"
          },
          "org": {
            "description": "The organization's name (case-insensitive).",
            "examples": [
              "my-org-name"
            ],
            "title": "Org",
            "type": "string"
          },
          "runner_id": {
            "description": "Unique identifier of the self-hosted runner.",
            "examples": [
              12345
            ],
            "title": "Runner Id",
            "type": "integer"
          }
        },
        "required": [
          "org",
          "runner_id",
          "labels"
        ],
        "title": "AddOrgRunnerLabelsRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Adds a GitHub user to a team or updates their role (member or maintainer), inviting them to the organization if not already a member; idempotent, returning current details if no change is made.",
      "name": "GITHUB_ADD_OR_UPDATE_TEAM_MEMBERSHIP_FOR_USER",
      "parameters": {
        "description": "Request schema for `AddOrUpdateTeamMembershipForUser`",
        "properties": {
          "org": {
            "description": "The name of the GitHub organization. This name is not case-sensitive.",
            "examples": [
              "github-org",
              "octo-corp"
            ],
            "title": "Org",
            "type": "string"
          },
          "role": {
            "default": "member",
            "description": "The role to assign to the user within the team. A 'maintainer' has broader permissions than a 'member', such as managing team members and settings.",
            "enum": [
              "member",
              "maintainer"
            ],
            "examples": [
              "member",
              "maintainer"
            ],
            "title": "Role",
            "type": "string"
          },
          "team_slug": {
            "description": "The slug (URL-friendly version) of the team's name. Must be lowercase with hyphens instead of spaces (e.g., 'my-team' not 'My Team'). Spaces will be automatically converted to hyphens and text will be lowercased.",
            "examples": [
              "justice-league",
              "developers",
              "product-team"
            ],
            "title": "Team Slug",
            "type": "string"
          },
          "username": {
            "description": "The GitHub username of the user to add or whose membership to update.",
            "examples": [
              "octocat",
              "mona-lisa-fixed"
            ],
            "title": "Username",
            "type": "string"
          }
        },
        "required": [
          "org",
          "team_slug",
          "username"
        ],
        "title": "AddOrUpdateTeamMembershipForUserRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Adds a classic project to a team or updates the team's permission on it. This endpoint grants or updates permissions for a team on a specific classic project (not Projects V2). The authenticated user must have admin permissions for the project. Both the team and project must belong to the same organization. Requirements: - The project must be a classic project (not GitHub Projects V2) - The authenticated user must have admin permissions on the project - The team and project must be in the same organization - Requires 'admin:org' scope for the authentication token Returns HTTP 204 No Content on success, 403 if project is not an org project, or 404 if the organization, team, or project is not found.",
      "name": "GITHUB_ADD_OR_UPDATE_TEAM_PROJECT_PERMISSIONS",
      "parameters": {
        "description": "Grants or updates a team's permissions for a specific classic project (not Projects V2).\n\nNote: This endpoint works with GitHub's classic Projects feature. The project\nmust be a classic project (not Projects V2), and both the team and project must\nbelong to the same organization. The authenticated user needs admin permissions\non the project.",
        "properties": {
          "org": {
            "description": "The organization name (login) that owns both the team and the classic project. Case-insensitive.",
            "examples": [
              "octo-org",
              "my-company"
            ],
            "title": "Org",
            "type": "string"
          },
          "permission": {
            "description": "Permission level to grant the team: 'read' (view only), 'write' (view and edit), or 'admin' (full control including settings). If omitted, uses the team's default permission.",
            "enum": [
              "read",
              "write",
              "admin"
            ],
            "examples": [
              "read",
              "write",
              "admin"
            ],
            "title": "PermissionEnm",
            "type": "string"
          },
          "project_id": {
            "description": "The unique numeric ID of the classic project. This is NOT the project number displayed in the UI.",
            "examples": [
              1002604,
              12345678
            ],
            "title": "Project Id",
            "type": "integer"
          },
          "team_slug": {
            "description": "The team's URL-friendly slug identifier within the organization. Found in the team's URL path.",
            "examples": [
              "justice-league",
              "engineering",
              "frontend-team"
            ],
            "title": "Team Slug",
            "type": "string"
          }
        },
        "required": [
          "org",
          "team_slug",
          "project_id"
        ],
        "title": "AddOrUpdateTeamProjectPermissionsRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Sets or updates a team's permission level for a repository within an organization; the team must be a member of the organization.",
      "name": "GITHUB_ADD_OR_UPDATE_TEAM_REPOSITORY_PERMISSIONS",
      "parameters": {
        "description": "Request schema for `AddOrUpdateTeamRepositoryPermissions`",
        "properties": {
          "org": {
            "description": "Organization name where the team exists (case-insensitive). This is the organization that owns the team, not necessarily the repository owner.",
            "examples": [
              "octo-org",
              "github"
            ],
            "title": "Org",
            "type": "string"
          },
          "owner": {
            "description": "Account owner of the repository (case-insensitive). This is the user or organization that owns the repository. In most cases, this should match the 'org' parameter value.",
            "examples": [
              "octocat",
              "my-organization"
            ],
            "title": "Owner",
            "type": "string"
          },
          "permission": {
            "anyOf": [
              {
                "enum": [
                  "pull",
                  "triage",
                  "push",
                  "maintain",
                  "admin"
                ],
                "type": "string"
              },
              {
                "type": "string"
              }
            ],
            "default": "push",
            "description": "Permission level to grant the team. Valid values: 'pull' (read-only), 'triage' (manage issues/PRs), 'push' (read/write), 'maintain' (manage repo settings plus push), 'admin' (full control). Custom repository role names are also supported if defined by the organization.",
            "examples": [
              "admin",
              "push",
              "maintain",
              "pull",
              "triage"
            ],
            "title": "Permission"
          },
          "repo": {
            "description": "Repository name, without the `.git` extension (case-insensitive).",
            "examples": [
              "hello-world",
              "my-awesome-project"
            ],
            "title": "Repo",
            "type": "string"
          },
          "team_slug": {
            "description": "The team's slug (URL-friendly name).",
            "examples": [
              "justice-league",
              "developers"
            ],
            "title": "Team Slug",
            "type": "string"
          }
        },
        "required": [
          "org",
          "team_slug",
          "owner",
          "repo"
        ],
        "title": "AddOrUpdateTeamRepositoryPermissionsRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Adds a specified GitHub user as a collaborator to an existing organization project with a given permission level. Note: This endpoint is for organization projects (classic). You must be an organization owner or a project admin to add a collaborator. Classic projects are being deprecated in favor of the new Projects experience.",
      "name": "GITHUB_ADD_PROJECT_COLLABORATOR",
      "parameters": {
        "description": "Request to add a collaborator to an organization project.",
        "properties": {
          "permission": {
            "default": "write",
            "description": "Permission level for the collaborator on the project.",
            "enum": [
              "read",
              "write",
              "admin"
            ],
            "examples": [
              "read",
              "write",
              "admin"
            ],
            "title": "Permission",
            "type": "string"
          },
          "project_id": {
            "description": "The unique identifier of the organization project.",
            "examples": [
              "12345"
            ],
            "title": "Project Id",
            "type": "integer"
          },
          "username": {
            "description": "The GitHub username of the user to be added as a collaborator.",
            "examples": [
              "octocat"
            ],
            "title": "Username",
            "type": "string"
          }
        },
        "required": [
          "project_id",
          "username"
        ],
        "title": "AddProjectCollaboratorRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Adds a repository to a GitHub App installation, granting the app access; requires authenticated user to have admin rights for the repository and access to the installation.",
      "name": "GITHUB_ADD_REPOSITORY_TO_APP_INSTALLATION",
      "parameters": {
        "description": "Request to add a repository to a GitHub App installation for the authenticated user.",
        "properties": {
          "installation_id": {
            "description": "The unique identifier of the GitHub App installation to which the repository will be added. This installation must be accessible to the authenticated user.",
            "examples": [
              "1234567",
              "8765432"
            ],
            "title": "Installation Id",
            "type": "integer"
          },
          "repository_id": {
            "description": "The unique identifier of the repository to add to the installation. The authenticated user must have admin permissions for this repository.",
            "examples": [
              "9876543",
              "2345678"
            ],
            "title": "Repository Id",
            "type": "integer"
          }
        },
        "required": [
          "installation_id",
          "repository_id"
        ],
        "title": "AddRepositoryToAppInstallationRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Adds a repository to an existing organization-level GitHub Actions secret that is configured for 'selected' repository access.",
      "name": "GITHUB_ADD_REPO_TO_ORG_SECRET_WITH_SELECTED_ACCESS",
      "parameters": {
        "description": "Request schema for adding a repository to an organization secret with 'selected' access type.",
        "properties": {
          "org": {
            "description": "The name of the GitHub organization. This field is not case-sensitive.",
            "examples": [
              "MyOrganization",
              "Octo-Org"
            ],
            "title": "Org",
            "type": "string"
          },
          "repository_id": {
            "description": "The unique identifier of the repository to be granted access to the organization secret.",
            "examples": [
              123456789,
              987654321
            ],
            "title": "Repository Id",
            "type": "integer"
          },
          "secret_name": {
            "description": "The name of the organization secret to which the repository will be added.",
            "examples": [
              "MY_API_KEY",
              "DATABASE_PASSWORD"
            ],
            "title": "Secret Name",
            "type": "string"
          }
        },
        "required": [
          "org",
          "secret_name",
          "repository_id"
        ],
        "title": "AddRepoToOrgSecretWithSelectedAccessRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Grants an existing repository access to an existing organization-level Dependabot secret when the secret's visibility is set to 'selected'; the repository must belong to the organization, and the call succeeds without change if access already exists.",
      "name": "GITHUB_ADD_REPO_TO_ORG_SECRET_WITH_SELECTED_VISIBILITY",
      "parameters": {
        "description": "Request schema for assigning a repository to an organization's Dependabot secret.",
        "properties": {
          "org": {
            "description": "The organization's unique handle/name (case-insensitive).",
            "examples": [
              "octo-org"
            ],
            "title": "Org",
            "type": "string"
          },
          "repository_id": {
            "description": "Unique ID of the repository to be granted access to the secret.",
            "examples": [
              1296269
            ],
            "title": "Repository Id",
            "type": "integer"
          },
          "secret_name": {
            "description": "Name of the Dependabot secret; must be alphanumeric or underscore, no spaces (lowercase auto-converts to uppercase).",
            "examples": [
              "MY_SECRET_TOKEN",
              "ARTIFACTORY_PASSWORD"
            ],
            "title": "Secret Name",
            "type": "string"
          }
        },
        "required": [
          "org",
          "secret_name",
          "repository_id"
        ],
        "title": "AddRepoToOrgSecretWithSelectedVisibilityRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Adds and appends custom labels to a self-hosted repository runner, which must be registered and active.",
      "name": "GITHUB_ADD_RUNNER_LABELS",
      "parameters": {
        "description": "Request schema for `AddCustomLabelsToASelfHostedRunnerForARepository`",
        "properties": {
          "labels": {
            "description": "Custom label names to add. Appended to existing labels. Names are case-insensitive. Empty list means no changes.",
            "examples": [
              "prod",
              "linux-x64",
              "gpu-enabled"
            ],
            "items": {
              "type": "string"
            },
            "title": "Labels",
            "type": "array"
          },
          "owner": {
            "description": "Username or organization name of the repository owner. Case-insensitive.",
            "examples": [
              "octocat",
              "MyOrganization"
            ],
            "title": "Owner",
            "type": "string"
          },
          "repo": {
            "description": "Name of the repository, without the `.git` extension. Case-insensitive.",
            "examples": [
              "hello-world",
              "my-awesome-project"
            ],
            "title": "Repo",
            "type": "string"
          },
          "runner_id": {
            "description": "Unique ID of the self-hosted runner.",
            "examples": [
              123,
              456
            ],
            "title": "Runner Id",
            "type": "integer"
          }
        },
        "required": [
          "owner",
          "repo",
          "runner_id",
          "labels"
        ],
        "title": "AddRunnerLabelsRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Adds a repository to an organization secret's access list when the secret's visibility is 'selected'; this operation is idempotent.",
      "name": "GITHUB_ADD_SELECTED_REPOSITORY_TO_ORGANIZATION_SECRET",
      "parameters": {
        "description": "Request schema for `AddSelectedRepositoryToOrganizationSecret`",
        "properties": {
          "org": {
            "description": "The name of the organization. This name is not case sensitive.",
            "examples": [
              "octo-org"
            ],
            "title": "Org",
            "type": "string"
          },
          "repository_id": {
            "description": "The unique identifier of the repository to add to the secret's access list.",
            "examples": [
              1296269
            ],
            "title": "Repository Id",
            "type": "integer"
          },
          "secret_name": {
            "description": "The name of the secret. Secret names can only contain alphanumeric characters ([A-Z], [a-z], [0-9]) or underscores (_). Spaces are not allowed. Secret names cannot start with GITHUB_ and must be less than 255 characters.",
            "examples": [
              "MY_API_KEY"
            ],
            "title": "Secret Name",
            "type": "string"
          }
        },
        "required": [
          "org",
          "secret_name",
          "repository_id"
        ],
        "title": "AddSelectedRepositoryToOrganizationSecretRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Grants a repository access to an organization-level GitHub Actions variable, if that variable's visibility is set to 'selected_repositories'.",
      "name": "GITHUB_ADD_SELECTED_REPOSITORY_TO_ORGANIZATION_VARIABLE",
      "parameters": {
        "description": "Input for adding a selected repository to an organization variable's access list.",
        "properties": {
          "name": {
            "description": "Name of the existing organization-level GitHub Actions variable.",
            "examples": [
              "CI_DEPLOY_KEY",
              "SHARED_SECRET_VALUE"
            ],
            "title": "Name",
            "type": "string"
          },
          "org": {
            "description": "Name of the GitHub organization (case-insensitive).",
            "examples": [
              "octo-org",
              "my-company"
            ],
            "title": "Org",
            "type": "string"
          },
          "repository_id": {
            "description": "Unique identifier of the repository to grant access.",
            "examples": [
              "1296269",
              "543210"
            ],
            "title": "Repository Id",
            "type": "integer"
          }
        },
        "required": [
          "org",
          "name",
          "repository_id"
        ],
        "title": "AddSelectedRepositoryToOrganizationVariableRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Grants a specified repository access to an authenticated user's existing Codespaces secret, enabling Codespaces created for that repository to use the secret.",
      "name": "GITHUB_ADD_SELECTED_REPOSITORY_TO_USER_SECRET",
      "parameters": {
        "description": "Request schema for `AddSelectedRepositoryToUserSecret`",
        "properties": {
          "repository_id": {
            "description": "The unique identifier of the repository to be granted access to the specified user-level Codespaces secret.",
            "examples": [
              1296269,
              490940582
            ],
            "title": "Repository Id",
            "type": "integer"
          },
          "secret_name": {
            "description": "Name of the user-level Codespaces secret to which repository access is added; this secret must already exist for the authenticated user.",
            "examples": [
              "GH_TOKEN_MY_USER",
              "PERSONAL_API_KEY"
            ],
            "title": "Secret Name",
            "type": "string"
          }
        },
        "required": [
          "secret_name",
          "repository_id"
        ],
        "title": "AddSelectedRepositoryToUserSecretRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Adds one or more social media links (which must be valid, full URLs for platforms supported by GitHub) to the authenticated user's public GitHub profile.",
      "name": "GITHUB_ADD_SOCIAL_ACCOUNTS_FOR_AUTHENTICATED_USER",
      "parameters": {
        "description": "Specifies the social media accounts to add for the authenticated user.",
        "properties": {
          "account_urls": {
            "description": "Full URLs for social media profiles to add to the user's GitHub profile; these will be displayed publicly.",
            "examples": [
              "https://twitter.com/github",
              "https://www.linkedin.com/in/github/",
              "https://mastodon.social/@github"
            ],
            "items": {
              "type": "string"
            },
            "title": "Account Urls",
            "type": "array"
          }
        },
        "required": [
          "account_urls"
        ],
        "title": "AddSocialAccountsForAuthenticatedUserRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Adds status check contexts to a protected branch's required status checks. This action appends new status check contexts to the existing list of required status checks for a protected branch. The branch must already have branch protection enabled with status checks configured. Note: The 'contexts' parameter is deprecated by GitHub in favor of 'checks' array. For new implementations, consider using update_status_check_protection with the 'checks' parameter instead.",
      "name": "GITHUB_ADD_STATUS_CHECK_CONTEXTS",
      "parameters": {
        "description": "Request model for adding status check contexts to a protected branch.",
        "properties": {
          "branch": {
            "description": "The name of the branch to which status check contexts will be added. Branch names cannot contain wildcard characters. To use wildcard characters in branch names, refer to the GraphQL API.",
            "examples": [
              "main",
              "develop"
            ],
            "title": "Branch",
            "type": "string"
          },
          "contexts": {
            "description": "The status check contexts to add to the protected branch. These are the names of CI/CD jobs or other checks that must pass before merging. Can be provided as a single string or a list of strings. Examples: 'ci/test', 'linter', 'continuous-integration/travis-ci'.",
            "examples": [
              [
                "ci/test",
                "linter"
              ],
              [
                "continuous-integration/travis-ci"
              ]
            ],
            "items": {
              "type": "string"
            },
            "title": "Contexts",
            "type": "array"
          },
          "owner": {
            "description": "The account owner of the repository. This name is not case sensitive.",
            "examples": [
              "octocat"
            ],
            "title": "Owner",
            "type": "string"
          },
          "repo": {
            "description": "The name of the repository, without the `.git` extension. This name is not case sensitive.",
            "examples": [
              "Hello-World"
            ],
            "title": "Repo",
            "type": "string"
          }
        },
        "required": [
          "owner",
          "repo",
          "branch",
          "contexts"
        ],
        "title": "AddStatusCheckContextsRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Tool to add a sub-issue to a parent GitHub issue using GraphQL. Use when you need to establish a parent-child relationship between issues. Requires the 'sub_issues' GraphQL feature to be enabled.",
      "name": "GITHUB_ADD_SUB_ISSUE",
      "parameters": {
        "description": "Request schema for adding a sub-issue to a parent issue",
        "properties": {
          "client_mutation_id": {
            "description": "A unique identifier for the client performing the mutation. Used to ensure idempotency of mutations.",
            "examples": [
              "mutation-12345",
              "add-sub-issue-abc"
            ],
            "title": "Client Mutation Id",
            "type": "string"
          },
          "issue_id": {
            "description": "The global node ID of the parent issue (e.g., 'I_kwDOABCDEFGH'). This is the GraphQL global identifier returned by GitHub's API.",
            "examples": [
              "I_kwDOABCDEFGH",
              "I_kwDOA1B2C3D4"
            ],
            "title": "Issue Id",
            "type": "string"
          },
          "replace_parent": {
            "description": "If true, replaces the existing parent issue if the sub-issue already has one. If false or omitted, the mutation will fail if the sub-issue already has a parent.",
            "title": "Replace Parent",
            "type": "boolean"
          },
          "sub_issue_id": {
            "description": "The global node ID of the sub-issue to link to the parent issue. Either sub_issue_id or sub_issue_url must be provided.",
            "examples": [
              "I_kwDOIJKLMNOP",
              "I_kwDOE5F6G7H8"
            ],
            "title": "Sub Issue Id",
            "type": "string"
          },
          "sub_issue_url": {
            "description": "The URL of the sub-issue to link to the parent issue. Either sub_issue_id or sub_issue_url must be provided.",
            "examples": [
              "https://github.com/owner/repo/issues/123"
            ],
            "title": "Sub Issue Url",
            "type": "string"
          }
        },
        "required": [
          "issue_id"
        ],
        "title": "AddSubIssueRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Adds teams to the list of teams with push access to a protected branch. This action grants additional teams push access to a protected branch. Unlike 'Set team access restrictions' (PUT), this action adds to the existing list rather than replacing it entirely. Prerequisites: - The repository must be owned by an organization (not a personal account) - The branch must have protection rules enabled - The branch protection must have restrictions configured - The teams must exist in the organization and have repository access",
      "name": "GITHUB_ADD_TEAM_ACCESS_RESTRICTIONS",
      "parameters": {
        "description": "Request schema for adding teams to a protected branch's access restrictions.\n\nNote: This action only works for organization-owned repositories. Team access\nrestrictions are not available for personal repositories.",
        "properties": {
          "branch": {
            "description": "The name of the protected branch to add team restrictions to. The branch must already have branch protection enabled with restrictions configured. Wildcard characters are not supported. For wildcard branch protection, use the GitHub GraphQL API.",
            "examples": [
              "main",
              "develop",
              "release"
            ],
            "title": "Branch",
            "type": "string"
          },
          "owner": {
            "description": "The organization name that owns the repository. Team access restrictions only work for organization-owned repositories, not personal repositories. This value is not case-sensitive.",
            "examples": [
              "my-org",
              "github"
            ],
            "title": "Owner",
            "type": "string"
          },
          "repo": {
            "description": "The name of the repository, without the `.git` extension. This value is not case-sensitive.",
            "examples": [
              "my-project",
              "Hello-World"
            ],
            "title": "Repo",
            "type": "string"
          },
          "teams": {
            "description": "The list of team slugs to add push access to the protected branch. A team slug is the URL-friendly version of the team name (lowercase, hyphens instead of spaces). The teams must already have access to the repository. This adds teams to the existing list (does not replace the entire list).",
            "examples": [
              [
                "developers"
              ],
              [
                "maintainers",
                "release-team"
              ],
              [
                "core-team"
              ]
            ],
            "items": {
              "type": "string"
            },
            "title": "Teams",
            "type": "array"
          }
        },
        "required": [
          "owner",
          "repo",
          "branch",
          "teams"
        ],
        "title": "AddTeamAccessRestrictionsRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Adds users to the list of people allowed to push to a protected branch in an organization repository. Important notes: - This action only works on organization-owned repositories (not personal repos) - The branch must already have protection rules with restrictions enabled - Users must have write access to the repository to be added - The combined total of users, apps, and teams is limited to 100 items",
      "name": "GITHUB_ADD_USER_ACCESS_RESTRICTIONS",
      "parameters": {
        "description": "Request schema for adding user access restrictions to a protected branch.\nThis action is only available for organization-owned repositories.",
        "properties": {
          "branch": {
            "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, refer to the GitHub GraphQL API documentation.",
            "examples": [
              "main",
              "develop"
            ],
            "title": "Branch",
            "type": "string"
          },
          "owner": {
            "description": "The account owner of the repository (must be an organization for user restrictions). This name is not case-sensitive.",
            "examples": [
              "octocat-org",
              "my-organization"
            ],
            "title": "Owner",
            "type": "string"
          },
          "repo": {
            "description": "The name of the repository, without the `.git` extension. This name is not case-sensitive.",
            "examples": [
              "Spoon-Knife",
              "my-project"
            ],
            "title": "Repo",
            "type": "string"
          },
          "users": {
            "description": "The list of user logins to grant push access to the protected branch. Users must have write access to the repository. An empty list will remove all user restrictions.",
            "examples": [
              [
                "octocat",
                "hubot"
              ],
              [
                "developer1"
              ]
            ],
            "items": {
              "type": "string"
            },
            "title": "Users",
            "type": "array"
          }
        },
        "required": [
          "owner",
          "repo",
          "branch",
          "users"
        ],
        "title": "AddUserAccessRestrictionsRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Adds organization members to the list of users granted Codespaces access billed to the organization. IMPORTANT: This endpoint requires the organization's Codespaces billing access to be set to 'selected_members' mode. If not already configured, use the GITHUB_MANAGE_ACCESS_CONTROL_FOR_ORGANIZATION_CODESPACES action first to set visibility to 'selected_members'.",
      "name": "GITHUB_ADD_USERS_TO_CODESPACES_ACCESS_FOR_ORGANIZATION",
      "parameters": {
        "description": "Request schema for `AddUsersToCodespacesAccessForOrganization`",
        "properties": {
          "org": {
            "description": "Organization's name (case-insensitive).",
            "examples": [
              "github",
              "my-organization"
            ],
            "title": "Org",
            "type": "string"
          },
          "selected_usernames": {
            "description": "Usernames of organization members to be granted Codespaces access billed to the organization. These users must be members of the specified organization.",
            "examples": [
              [
                "octocat",
                "hubot"
              ],
              [
                "another-user",
                "dev-user"
              ]
            ],
            "items": {
              "type": "string"
            },
            "title": "Selected Usernames",
            "type": "array"
          }
        },
        "required": [
          "org",
          "selected_usernames"
        ],
        "title": "AddUsersToCodespacesAccessForOrganizationRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Retrieves a map of all top-level GitHub REST API resource URLs and their templates.",
      "name": "GITHUB_API_ROOT",
      "parameters": {
        "description": "Request schema for retrieving the root endpoint details of the GitHub REST API.",
        "properties": {},
        "title": "GithubApiRootRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Approves a workflow run from a forked repository's pull request; call this when such a run requires manual approval due to workflow configuration.",
      "name": "GITHUB_APPROVE_WORKFLOW_RUN_FOR_FORK_PULL_REQUEST",
      "parameters": {
        "description": "Request schema for `ApproveWorkflowRunForForkPullRequest`",
        "properties": {
          "owner": {
            "description": "The account owner of the repository. The name is not case sensitive.",
            "examples": [
              "octocat"
            ],
            "title": "Owner",
            "type": "string"
          },
          "repo": {
            "description": "The name of the repository without the `.git` extension. The name is not case sensitive. ",
            "examples": [
              "Hello-World"
            ],
            "title": "Repo",
            "type": "string"
          },
          "run_id": {
            "description": "The unique identifier of the workflow run requiring approval.",
            "examples": [
              12345
            ],
            "title": "Run Id",
            "type": "integer"
          }
        },
        "required": [
          "owner",
          "repo",
          "run_id"
        ],
        "title": "ApproveWorkflowRunForForkPullRequestRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Assigns an existing organization-level role (identified by `role_id`) to a team (identified by `team_slug`) within a GitHub organization (`org`), provided the organization, team, and role already exist.",
      "name": "GITHUB_ASSIGN_ORGANIZATION_ROLE_TO_TEAM",
      "parameters": {
        "description": "Request schema for `AssignOrganizationRoleToTeam`",
        "properties": {
          "org": {
            "description": "The name of the GitHub organization. This field is case-insensitive.",
            "examples": [
              "octo-org"
            ],
            "title": "Org",
            "type": "string"
          },
          "role_id": {
            "description": "Unique identifier of the organization role to assign to the team (obtainable by listing organization roles).",
            "examples": [
              123,
              456
            ],
            "title": "Role Id",
            "type": "integer"
          },
          "team_slug": {
            "description": "The slug (URL-friendly version) of the team's name.",
            "examples": [
              "justice-league"
            ],
            "title": "Team Slug",
            "type": "string"
          }
        },
        "required": [
          "org",
          "team_slug",
          "role_id"
        ],
        "title": "AssignOrganizationRoleToTeamRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Assigns a specific organization role to a user who is a member or an outside collaborator in a GitHub organization, using a valid role ID.",
      "name": "GITHUB_ASSIGN_ORGANIZATION_ROLE_TO_USER",
      "parameters": {
        "description": "Request schema for `AssignOrganizationRoleToUser`",
        "properties": {
          "org": {
            "description": "The organization's name. This is not case-sensitive.",
            "examples": [
              "github",
              "acme-corp"
            ],
            "title": "Org",
            "type": "string"
          },
          "role_id": {
            "description": "The unique integer identifier for the organization role. This ID can be obtained by listing the organization's roles.",
            "examples": [
              1,
              42,
              101
            ],
            "title": "Role Id",
            "type": "integer"
          },
          "username": {
            "description": "The GitHub username of the user to whom the role will be assigned.",
            "examples": [
              "octocat",
              "githubuser123"
            ],
            "title": "Username",
            "type": "string"
          }
        },
        "required": [
          "org",
          "username",
          "role_id"
        ],
        "title": "AssignOrganizationRoleToUserRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "List Docker packages with migration conflicts for the authenticated user. This endpoint lists all Docker packages owned by the authenticated user that encountered namespace conflicts during the Docker-to-GitHub Container Registry (GHCR) migration. Conflicts occur when a package with the same name exists in both the legacy Docker registry and GHCR. IMPORTANT: The Docker registry for GitHub Packages was deprecated on Feb 24, 2025. This endpoint may return a 400 error with message 'Package migration for docker is no longer supported' as the migration period has ended. In this case, the action returns an informative response instead of failing. Use case: Identifying packages that require manual migration to GHCR. Required scope: read:packages (for OAuth and personal access tokens).",
      "name": "GITHUB_AUTH_USER_DOCKER_CONFLICT_PACKAGES_LIST",
      "parameters": {
        "description": "Request model for listing Docker migration conflicting packages.\n\nNo parameters are required for this endpoint.",
        "properties": {},
        "title": "AuthUserDockerConflictPackagesListRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Blocks an existing individual GitHub user (not an organization or your own account), preventing them from interacting with your account and repositories.",
      "name": "GITHUB_BLOCK_USER",
      "parameters": {
        "description": "Identifies the GitHub user to block by their username.",
        "properties": {
          "username": {
            "description": "The GitHub username (handle) of the user to block. Case-insensitive.",
            "examples": [
              "octocat",
              "torvalds"
            ],
            "title": "Username",
            "type": "string"
          }
        },
        "required": [
          "username"
        ],
        "title": "BlockUserRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Blocks a GitHub user from an organization, preventing their contributions, collaboration, and forking of the organization's repositories. Requires admin or 'Blocking users' organization permission (write access).",
      "name": "GITHUB_BLOCK_USER_FROM_ORGANIZATION",
      "parameters": {
        "description": "Input data for blocking a user from an organization.",
        "properties": {
          "org": {
            "description": "The organization name (case-insensitive). You must have admin or 'Blocking users' permission in this organization.",
            "examples": [
              "github",
              "octo-org"
            ],
            "title": "Org",
            "type": "string"
          },
          "username": {
            "description": "The GitHub username (handle) of the account to block from the organization.",
            "examples": [
              "octocat",
              "someuser"
            ],
            "title": "Username",
            "type": "string"
          }
        },
        "required": [
          "org",
          "username"
        ],
        "title": "BlockUserFromOrganizationRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Cancels an existing, ongoing or queued GitHub Pages deployment for a repository using its `pages_deployment_id`.",
      "name": "GITHUB_CANCEL_GITHUB_PAGES_DEPLOYMENT",
      "parameters": {
        "description": "Request schema for `CancelGithubPagesDeployment`",
        "properties": {
          "owner": {
            "description": "Username or organization that owns the repository. Not case-sensitive.",
            "examples": [
              "octocat"
            ],
            "title": "Owner",
            "type": "string"
          },
          "pages_deployment_id": {
            "description": "Unique numerical ID of the GitHub Pages deployment (not the commit SHA).",
            "examples": [
              123456789
            ],
            "title": "Pages Deployment Id",
            "type": "integer"
          },
          "repo": {
            "description": "Repository name, excluding the `.git` extension. Not case-sensitive.",
            "examples": [
              "Hello-World"
            ],
            "title": "Repo",
            "type": "string"
          }
        },
        "required": [
          "owner",
          "repo",
          "pages_deployment_id"
        ],
        "title": "CancelGithubPagesDeploymentRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Tool to cancel an active GitHub sponsorship using GraphQL. Use when you need to terminate a sponsorship relationship between a sponsor and a sponsorable entity. Either sponsor ID/login and sponsorable ID/login must be provided.",
      "name": "GITHUB_CANCEL_SPONSORSHIP",
      "parameters": {
        "description": "Request schema for canceling an active GitHub sponsorship",
        "properties": {
          "client_mutation_id": {
            "description": "A unique identifier for the client performing the mutation. Used to ensure idempotency of mutations.",
            "examples": [
              "cancel-sponsorship-12345",
              "mutation-abc"
            ],
            "title": "Client Mutation Id",
            "type": "string"
          },
          "sponsor_id": {
            "description": "The global node ID of the user or organization acting as sponsor (e.g., 'U_kgDOABCDEF'). Required if sponsor_login is not provided.",
            "examples": [
              "U_kgDOABCDEF",
              "O_kgDOGHIJKL"
            ],
            "title": "Sponsor Id",
            "type": "string"
          },
          "sponsor_login": {
            "description": "The username of the sponsoring user or organization. Required if sponsor_id is not provided.",
            "examples": [
              "github",
              "octocat"
            ],
            "title": "Sponsor Login",
            "type": "string"
          },
          "sponsorable_id": {
            "description": "The global node ID of the user or organization receiving the sponsorship (e.g., 'U_kgDOMNOPQR'). Required if sponsorable_login is not provided.",
            "examples": [
              "U_kgDOMNOPQR",
              "O_kgDOSTUVWX"
            ],
            "title": "Sponsorable Id",
            "type": "string"
          },
          "sponsorable_login": {
            "description": "The username of the sponsored user or organization. Required if sponsorable_id is not provided.",
            "examples": [
              "octocat",
              "rails"
            ],
            "title": "Sponsorable Login",
            "type": "string"
          }
        },
        "title": "CancelSponsorshipRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Cancels a workflow run in a GitHub repository if it is in a cancellable state (e.g., 'in_progress' or 'queued'). Returns 202 Accepted on success.",
      "name": "GITHUB_CANCEL_WORKFLOW_RUN",
      "parameters": {
        "description": "Request schema for `CancelWorkflowRun`",
        "properties": {
          "owner": {
            "description": "The account owner of the repository (not case-sensitive).",
            "examples": [
              "octocat",
              "github"
            ],
            "title": "Owner",
            "type": "string"
          },
          "repo": {
            "description": "The name of the repository, without the `.git` extension (not case-sensitive).",
            "examples": [
              "Hello-World",
              "linguist"
            ],
            "title": "Repo",
            "type": "string"
          },
          "run_id": {
            "description": "Unique identifier of the workflow run.",
            "examples": [
              123456789
            ],
            "title": "Run Id",
            "type": "integer"
          }
        },
        "required": [
          "owner",
          "repo",
          "run_id"
        ],
        "title": "CancelWorkflowRunRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Checks if a gist is starred by the authenticated user. Returns `is_starred: true` if the gist is starred (HTTP 204), or `is_starred: false` if not starred (HTTP 404). Use this to verify star status before starring/unstarring a gist.",
      "name": "GITHUB_CHECK_IF_GIST_IS_STARRED",
      "parameters": {
        "description": "Request schema for `CheckIfGistIsStarred`",
        "properties": {
          "gist_id": {
            "description": "The unique identifier (ID) of the gist to check. Can be found in the URL of the gist (e.g., 'https://gist.github.com/{user}/{gist_id}').",
            "examples": [
              "6104628abc0786a41abb273430ac0590",
              "aa5a315d61ae9438b18d"
            ],
            "title": "Gist Id",
            "type": "string"
          }
        },
        "required": [
          "gist_id"
        ],
        "title": "CheckIfGistIsStarredRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Checks if a specified GitHub pull request has been merged, indicated by a 204 HTTP status (merged) or 404 (not merged/found).",
      "name": "GITHUB_CHECK_IF_PULL_REQUEST_HAS_BEEN_MERGED",
      "parameters": {
        "description": "Request schema for `CheckIfPullRequestHasBeenMerged`",
        "properties": {
          "owner": {
            "description": "The account owner of the repository (not case sensitive).",
            "examples": [
              "octocat"
            ],
            "title": "Owner",
            "type": "string"
          },
          "pull_number": {
            "description": "The number that identifies the pull request.",
            "examples": [
              "1347"
            ],
            "title": "Pull Number",
            "type": "integer"
          },
          "repo": {
            "description": "The name of the repository, without the `.git` extension (not case sensitive).",
            "examples": [
              "Spoon-Knife"
            ],
            "title": "Repo",
            "type": "string"
          }
        },
        "required": [
          "owner",
          "repo",
          "pull_number"
        ],
        "title": "CheckIfPullRequestHasBeenMergedRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Verifies if a GitHub user can be assigned to issues in a repository; assignability is confirmed by an HTTP 204 (No Content) response, resulting in an empty 'data' field in the response.",
      "name": "GITHUB_CHECK_IF_USER_CAN_BE_ASSIGNED",
      "parameters": {
        "description": "Request schema for checking if a user can be assigned to issues in a repository.",
        "properties": {
          "assignee": {
            "description": "The GitHub username of the user to check for assignability. This name is not case sensitive.",
            "examples": [
              "hubot",
              "monalisa"
            ],
            "title": "Assignee",
            "type": "string"
          },
          "owner": {
            "description": "The account owner of the repository (e.g., a GitHub username or organization name). This name is not case sensitive.",
            "examples": [
              "octocat",
              "my-organization"
            ],
            "title": "Owner",
            "type": "string"
          },
          "repo": {
            "description": "The name of the repository, without the `.git` extension. This name is not case sensitive.",
            "examples": [
              "Spoon-Knife",
              "my-awesome-project"
            ],
            "title": "Repo",
            "type": "string"
          }
        },
        "required": [
          "owner",
          "repo",
          "assignee"
        ],
        "title": "CheckIfUserCanBeAssignedRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Checks if a specified GitHub user can be assigned to a given issue within a repository.",
      "name": "GITHUB_CHECK_IF_USER_CAN_BE_ASSIGNED_TO_ISSUE",
      "parameters": {
        "description": "Request schema for `CheckIfUserCanBeAssignedToIssue`",
        "properties": {
          "assignee": {
            "description": "The GitHub username of the user to check for assignment permissions.",
            "examples": [
              "hubot"
            ],
            "title": "Assignee",
            "type": "string"
          },
          "issue_number": {
            "description": "The unique number identifying the issue within the repository.",
            "examples": [
              "1347"
            ],
            "title": "Issue Number",
            "type": "integer"
          },
          "owner": {
            "description": "The username of the account owning the repository. This field is not case-sensitive.",
            "examples": [
              "octocat"
            ],
            "title": "Owner",
            "type": "string"
          },
          "repo": {
            "description": "The name of the repository, without the `.git` extension. This field is not case-sensitive.",
            "examples": [
              "Spoon-Knife"
            ],
            "title": "Repo",
            "type": "string"
          }
        },
        "required": [
          "owner",
          "repo",
          "issue_number",
          "assignee"
        ],
        "title": "CheckIfUserCanBeAssignedToIssueRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Checks if a GitHub user `username` follows `target_user`; returns a 204 HTTP status if true, 404 if not or if users are invalid.",
      "name": "GITHUB_CHECK_IF_USER_FOLLOWS_ANOTHER_USER",
      "parameters": {
        "description": "Request schema for checking if one GitHub user follows another.",
        "properties": {
          "target_user": {
            "description": "The GitHub username of the user to verify if they are followed by the `username`.",
            "examples": [
              "mercury-tools-bot",
              "github"
            ],
            "title": "Target User",
            "type": "string"
          },
          "username": {
            "description": "The GitHub username of the user to check.",
            "examples": [
              "octocat",
              "torvalds"
            ],
            "title": "Username",
            "type": "string"
          }
        },
        "required": [
          "username",
          "target_user"
        ],
        "title": "CheckIfUserFollowsAnotherUserRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Checks if the specified GitHub user is blocked by the authenticated user; a 204 No Content response indicates the user is blocked, while a 404 Not Found indicates they are not.",
      "name": "GITHUB_CHECK_IF_USER_IS_BLOCKED_BY_AUTHENTICATED_USER",
      "parameters": {
        "description": "Request to check if a user is blocked by the authenticated user.",
        "properties": {
          "username": {
            "description": "The GitHub username (handle) of the user.",
            "examples": [
              "octocat",
              "torvalds"
            ],
            "title": "Username",
            "type": "string"
          }
        },
        "required": [
          "username"
        ],
        "title": "CheckIfUserIsBlockedByAuthenticatedUserRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Checks if a GitHub user is blocked by an organization. Returns is_blocked=True if the user is blocked (HTTP 204), or is_blocked=False if not blocked (HTTP 404). Requires 'Blocking users' organization permission (read access).",
      "name": "GITHUB_CHECK_IF_USER_IS_BLOCKED_BY_ORGANIZATION",
      "parameters": {
        "description": "Request schema for `CheckIfUserIsBlockedByOrganization`",
        "properties": {
          "org": {
            "description": "The organization name (case-insensitive). Must be an organization where you have 'Blocking users' permission (read access).",
            "examples": [
              "github",
              "octo-org"
            ],
            "title": "Org",
            "type": "string"
          },
          "username": {
            "description": "The GitHub username (handle) to check if blocked by the organization.",
            "examples": [
              "octocat",
              "mona-lisa"
            ],
            "title": "Username",
            "type": "string"
          }
        },
        "required": [
          "org",
          "username"
        ],
        "title": "CheckIfUserIsBlockedByOrganizationRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Checks if a user is a collaborator on a specified GitHub repository, returning a 204 status if they are, or a 404 status if they are not or if the repository/user does not exist.",
      "name": "GITHUB_CHECK_IF_USER_IS_REPOSITORY_COLLABORATOR",
      "parameters": {
        "description": "Request schema for `CheckIfUserIsRepositoryCollaborator`",
        "properties": {
          "owner": {
            "description": "The account owner of the repository, typically a GitHub username or an organization name. This name is not case sensitive.",
            "examples": [
              "octocat",
              "my-github-org"
            ],
            "title": "Owner",
            "type": "string"
          },
          "repo": {
            "description": "The name of the repository, without the `.git` extension. This name is not case sensitive.",
            "examples": [
              "Spoon-Knife",
              "my-project-repo"
            ],
            "title": "Repo",
            "type": "string"
          },
          "username": {
            "description": "The GitHub username of the user whose collaborator status is being checked. This name is not case sensitive.",
            "examples": [
              "gh-user123",
              "another-dev"
            ],
            "title": "Username",
            "type": "string"
          }
        },
        "required": [
          "owner",
          "repo",
          "username"
        ],
        "title": "CheckIfUserIsRepositoryCollaboratorRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Checks if the authenticated GitHub user follows a target GitHub user. Returns a structured response with is_following=True when following (HTTP 204), or is_following=False when not following (HTTP 404).",
      "name": "GITHUB_CHECK_PERSON_FOLLOWED_BY_AUTH_USER",
      "parameters": {
        "description": "Input model for the action that checks if the authenticated user follows another GitHub user.",
        "properties": {
          "username": {
            "description": "The GitHub username (e.g., 'octocat') of the person to check. This is the user's handle on GitHub.",
            "examples": [
              "octocat",
              "torvalds"
            ],
            "title": "Username",
            "type": "string"
          }
        },
        "required": [
          "username"
        ],
        "title": "CheckPersonFollowedByAuthUserRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Checks if private vulnerability reporting is enabled for the specified repository.",
      "name": "GITHUB_CHECK_PRIVATE_VULNERABILITY_REPORTING_STATUS",
      "parameters": {
        "description": "Request schema for `CheckPrivateVulnerabilityReportingStatus`",
        "properties": {
          "owner": {
            "description": "The username or organization name that owns the repository. This field is not case-sensitive.",
            "examples": [
              "octocat",
              "github"
            ],
            "title": "Owner",
            "type": "string"
          },
          "repo": {
            "description": "The name of the repository, without the `.git` extension. This field is not case-sensitive.",
            "examples": [
              "hello-world",
              "linguist"
            ],
            "title": "Repo",
            "type": "string"
          }
        },
        "required": [
          "owner",
          "repo"
        ],
        "title": "CheckPrivateVulnerabilityReportingStatusRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Tool to check if a user is a public member of an organization. Use when you need to verify public organization membership status.",
      "name": "GITHUB_CHECK_PUBLIC_ORGANIZATION_MEMBERSHIP_FOR_USER",
      "parameters": {
        "description": "Request schema for checking public organization membership for a user.",
        "properties": {
          "org": {
            "description": "The organization name. The name is not case sensitive.",
            "examples": [
              "github",
              "octo-org"
            ],
            "title": "Org",
            "type": "string"
          },
          "username": {
            "description": "The handle for the GitHub user account.",
            "examples": [
              "octocat",
              "aashah"
            ],
            "title": "Username",
            "type": "string"
          }
        },
        "required": [
          "org",
          "username"
        ],
        "title": "CheckPublicOrgMembershipRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Checks if a team has 'read', 'write', or 'admin' permissions for an organization's specific classic project, returning the project's details if access is confirmed.",
      "name": "GITHUB_CHECK_TEAM_PERMISSIONS_FOR_A_PROJECT",
      "parameters": {
        "description": "Request schema for `CheckTeamPermissionsForAProject`",
        "properties": {
          "org": {
            "description": "The name of the organization. This is case-insensitive.",
            "examples": [
              "octo-org"
            ],
            "title": "Org",
            "type": "string"
          },
          "project_id": {
            "description": "The unique identifier of the project (classic).",
            "examples": [
              1002604
            ],
            "title": "Project Id",
            "type": "integer"
          },
          "team_slug": {
            "description": "The slug (short name) of the team.",
            "examples": [
              "justice-league"
            ],
            "title": "Team Slug",
            "type": "string"
          }
        },
        "required": [
          "org",
          "team_slug",
          "project_id"
        ],
        "title": "CheckTeamPermissionsForAProjectRequest",
        "type": "object"
      }
    },
    "type": "function"
  },
  {
    "function": {
      "description": "Checks a team's permissions for a specific repository within an organization, including permissions inherited from parent teams.",
      "name": "GITHUB_CHECK_TEAM_PERMISSIONS_FOR_A_REPOSITORY",
      "parameters": {
        "description": "Defines the request parameters for checking a team's permissions for a repository.",
        "properties": {
          "org": {
            "description": "The name of the organization. This field is not case-sensitive.",
            "examples": [
              "octo-org"
            ],
            "title": "Org",
            "type": "string"
          },
          "owner": {
            "description": "The organization that owns the repository. For this GitHub API endpoint, this value must be the same as the `org` parameter. This field is not case-sensitive.",
            "examples": [
              "octo-org"
            ],
            "title": "Owner",
            "type": "string"
          },
          "repo": {
            "description": "The name of the repository, without the `.git` extension. This field is not case-sensitive.",
            "examples": [
              "hello-world",
              "octo-repo"
            ],
            "title": "Repo",
            "type": "string"
          },
          "team_slug": {
            "description": "The URL-friendly slug for the team name. It is unique within the organization and typically all lowercase with hyphens instead of spaces.",
            "examples": [
              "justice-league",
              "awesome-developers"
            ],
            "title": "Team Slug",
            "type": "string"
          }
        },
        "required": [
          "org",
          "team_slug",
          "owner",
          "repo"
        ],
        "title": "CheckTeamPermissionsForARepositoryRequest",
        "type": "object"
      }
    },
    "type": "function"
  }
]