Update tools_def.py
Browse files- tools_def.py +1761 -116
tools_def.py
CHANGED
|
@@ -1442,27 +1442,30 @@ TOOLS = [
|
|
| 1442 |
{
|
| 1443 |
"type": "function",
|
| 1444 |
"function": {
|
| 1445 |
-
"name": "
|
| 1446 |
-
"description": "
|
| 1447 |
"parameters": {
|
| 1448 |
"type": "object",
|
| 1449 |
"properties": {
|
| 1450 |
-
"
|
| 1451 |
-
"
|
| 1452 |
-
|
|
|
|
|
|
|
| 1453 |
}
|
| 1454 |
}
|
| 1455 |
},
|
| 1456 |
{
|
| 1457 |
"type": "function",
|
| 1458 |
"function": {
|
| 1459 |
-
"name": "
|
| 1460 |
-
"description": "
|
| 1461 |
"parameters": {
|
| 1462 |
"type": "object",
|
| 1463 |
"properties": {
|
| 1464 |
-
"owner": {"type": "string", "description": "
|
| 1465 |
-
"repo": {"type": "string", "description": "
|
|
|
|
| 1466 |
},
|
| 1467 |
"required": ["owner", "repo"]
|
| 1468 |
}
|
|
@@ -1471,67 +1474,264 @@ TOOLS = [
|
|
| 1471 |
{
|
| 1472 |
"type": "function",
|
| 1473 |
"function": {
|
| 1474 |
-
"name": "
|
| 1475 |
-
"description": "
|
| 1476 |
"parameters": {
|
| 1477 |
"type": "object",
|
| 1478 |
"properties": {
|
| 1479 |
-
"
|
| 1480 |
-
"
|
| 1481 |
-
"
|
| 1482 |
-
"
|
|
|
|
| 1483 |
},
|
| 1484 |
-
"required": ["
|
| 1485 |
}
|
| 1486 |
}
|
| 1487 |
},
|
| 1488 |
{
|
| 1489 |
"type": "function",
|
| 1490 |
"function": {
|
| 1491 |
-
"name": "
|
| 1492 |
-
"description": "
|
| 1493 |
"parameters": {
|
| 1494 |
"type": "object",
|
| 1495 |
"properties": {
|
| 1496 |
-
"owner": {"type": "string", "description": "
|
| 1497 |
-
"repo": {"type": "string", "description": "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1498 |
},
|
| 1499 |
-
"required": ["owner", "repo"]
|
| 1500 |
}
|
| 1501 |
}
|
| 1502 |
},
|
| 1503 |
{
|
| 1504 |
"type": "function",
|
| 1505 |
"function": {
|
| 1506 |
-
"name": "
|
| 1507 |
-
"description": "
|
| 1508 |
"parameters": {
|
| 1509 |
"type": "object",
|
| 1510 |
"properties": {
|
| 1511 |
-
"owner": {"type": "string", "description": "
|
| 1512 |
-
"repo": {"type": "string", "description": "
|
| 1513 |
-
"
|
| 1514 |
-
"
|
| 1515 |
},
|
| 1516 |
-
"required": ["owner", "repo", "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1517 |
}
|
| 1518 |
}
|
| 1519 |
},
|
| 1520 |
{
|
| 1521 |
"type": "function",
|
| 1522 |
"function": {
|
| 1523 |
-
"name": "
|
| 1524 |
-
"description": "
|
| 1525 |
"parameters": {
|
| 1526 |
"type": "object",
|
| 1527 |
"properties": {
|
| 1528 |
-
"owner": {"type": "string", "description": "
|
| 1529 |
-
"repo": {"type": "string", "description": "
|
| 1530 |
-
"path": {"type": "string", "description": "
|
| 1531 |
-
"message": {"type": "string", "description": "
|
| 1532 |
-
"content": {"type": "string", "description": "
|
| 1533 |
-
"branch": {"type": "string", "description": "
|
| 1534 |
-
"sha": {"type": "string", "description": "
|
| 1535 |
},
|
| 1536 |
"required": ["owner", "repo", "path", "message", "content"]
|
| 1537 |
}
|
|
@@ -1540,17 +1740,91 @@ TOOLS = [
|
|
| 1540 |
{
|
| 1541 |
"type": "function",
|
| 1542 |
"function": {
|
| 1543 |
-
"name": "
|
| 1544 |
-
"description": "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1545 |
"parameters": {
|
| 1546 |
"type": "object",
|
| 1547 |
"properties": {
|
| 1548 |
-
"owner": {"type": "string", "description": "
|
| 1549 |
-
"repo": {"type": "string", "description": "
|
| 1550 |
-
"path": {"type": "string", "description": "
|
| 1551 |
-
"message": {"type": "string", "description": "
|
| 1552 |
-
"sha": {"type": "string", "description": "
|
| 1553 |
-
"branch": {"type": "string", "description": "
|
| 1554 |
},
|
| 1555 |
"required": ["owner", "repo", "path", "message", "sha"]
|
| 1556 |
}
|
|
@@ -1559,13 +1833,30 @@ TOOLS = [
|
|
| 1559 |
{
|
| 1560 |
"type": "function",
|
| 1561 |
"function": {
|
| 1562 |
-
"name": "
|
| 1563 |
-
"description": "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1564 |
"parameters": {
|
| 1565 |
"type": "object",
|
| 1566 |
"properties": {
|
| 1567 |
-
"owner": {"type": "string", "description": "
|
| 1568 |
-
"repo": {"type": "string", "description": "
|
| 1569 |
},
|
| 1570 |
"required": ["owner", "repo"]
|
| 1571 |
}
|
|
@@ -1574,48 +1865,59 @@ TOOLS = [
|
|
| 1574 |
{
|
| 1575 |
"type": "function",
|
| 1576 |
"function": {
|
| 1577 |
-
"name": "
|
| 1578 |
-
"description": "
|
| 1579 |
"parameters": {
|
| 1580 |
"type": "object",
|
| 1581 |
"properties": {
|
| 1582 |
-
"
|
| 1583 |
-
"
|
| 1584 |
-
"branch": {"type": "string", "description": "The name of the new branch"},
|
| 1585 |
-
"from_branch": {"type": "string", "description": "The source branch name or commit SHA to branch from"}
|
| 1586 |
},
|
| 1587 |
-
"required": ["
|
| 1588 |
}
|
| 1589 |
}
|
| 1590 |
},
|
| 1591 |
{
|
| 1592 |
"type": "function",
|
| 1593 |
"function": {
|
| 1594 |
-
"name": "
|
| 1595 |
-
"description": "
|
| 1596 |
"parameters": {
|
| 1597 |
"type": "object",
|
| 1598 |
"properties": {
|
| 1599 |
-
"
|
| 1600 |
-
"repo": {"type": "string", "description": "The name of the repository"},
|
| 1601 |
-
"branch": {"type": "string", "description": "Branch name or SHA"},
|
| 1602 |
-
"per_page": {"type": "integer", "description": "Number of commits to return, default 5"}
|
| 1603 |
},
|
| 1604 |
-
"required": ["
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1605 |
}
|
| 1606 |
}
|
| 1607 |
},
|
| 1608 |
{
|
| 1609 |
"type": "function",
|
| 1610 |
"function": {
|
| 1611 |
-
"name": "
|
| 1612 |
-
"description": "
|
| 1613 |
"parameters": {
|
| 1614 |
"type": "object",
|
| 1615 |
"properties": {
|
| 1616 |
-
"owner": {"type": "string", "description": "
|
| 1617 |
-
"repo": {"type": "string", "description": "
|
| 1618 |
-
"
|
| 1619 |
},
|
| 1620 |
"required": ["owner", "repo"]
|
| 1621 |
}
|
|
@@ -1624,118 +1926,1461 @@ TOOLS = [
|
|
| 1624 |
{
|
| 1625 |
"type": "function",
|
| 1626 |
"function": {
|
| 1627 |
-
"name": "
|
| 1628 |
-
"description": "
|
| 1629 |
"parameters": {
|
| 1630 |
"type": "object",
|
| 1631 |
"properties": {
|
| 1632 |
-
"owner": {"type": "string", "description": "
|
| 1633 |
-
"repo": {"type": "string", "description": "
|
| 1634 |
-
"
|
| 1635 |
-
"head": {"type": "string", "description": "The name of the branch where your changes are implemented"},
|
| 1636 |
-
"base": {"type": "string", "description": "The name of the branch you want the changes pulled into (e.g. main)"},
|
| 1637 |
-
"body": {"type": "string", "description": "The contents of the pull request"}
|
| 1638 |
},
|
| 1639 |
-
"required": ["owner", "repo", "
|
| 1640 |
}
|
| 1641 |
}
|
| 1642 |
},
|
| 1643 |
{
|
| 1644 |
"type": "function",
|
| 1645 |
"function": {
|
| 1646 |
-
"name": "
|
| 1647 |
-
"description": "
|
| 1648 |
"parameters": {
|
| 1649 |
"type": "object",
|
| 1650 |
"properties": {
|
| 1651 |
-
"owner": {"type": "string", "description": "
|
| 1652 |
-
"repo": {"type": "string", "description": "
|
| 1653 |
-
"
|
| 1654 |
-
"commit_title": {"type": "string", "description": "Title for the merge commit"},
|
| 1655 |
-
"merge_method": {"type": "string", "description": "Merge method: merge, squash, rebase. Default: merge"}
|
| 1656 |
},
|
| 1657 |
-
"required": ["owner", "repo", "
|
| 1658 |
}
|
| 1659 |
}
|
| 1660 |
},
|
| 1661 |
{
|
| 1662 |
"type": "function",
|
| 1663 |
"function": {
|
| 1664 |
-
"name": "
|
| 1665 |
-
"description": "
|
| 1666 |
"parameters": {
|
| 1667 |
"type": "object",
|
| 1668 |
"properties": {
|
| 1669 |
-
"owner": {"type": "string", "description": "
|
| 1670 |
-
"repo": {"type": "string", "description": "
|
| 1671 |
-
"
|
| 1672 |
},
|
| 1673 |
-
"required": ["owner", "repo"]
|
| 1674 |
}
|
| 1675 |
}
|
| 1676 |
},
|
| 1677 |
{
|
| 1678 |
"type": "function",
|
| 1679 |
"function": {
|
| 1680 |
-
"name": "
|
| 1681 |
-
"description": "
|
| 1682 |
"parameters": {
|
| 1683 |
"type": "object",
|
| 1684 |
"properties": {
|
| 1685 |
-
"
|
| 1686 |
-
"repo": {"type": "string", "description": "The name of the repository"},
|
| 1687 |
-
"title": {"type": "string", "description": "The title of the issue"},
|
| 1688 |
-
"body": {"type": "string", "description": "The contents of the issue"}
|
| 1689 |
},
|
| 1690 |
-
"required": ["
|
| 1691 |
}
|
| 1692 |
}
|
| 1693 |
},
|
| 1694 |
{
|
| 1695 |
"type": "function",
|
| 1696 |
"function": {
|
| 1697 |
-
"name": "
|
| 1698 |
-
"description": "
|
| 1699 |
"parameters": {
|
| 1700 |
"type": "object",
|
| 1701 |
"properties": {
|
| 1702 |
-
"owner": {"type": "string", "description": "
|
| 1703 |
-
"repo": {"type": "string", "description": "
|
| 1704 |
-
"
|
| 1705 |
-
"body": {"type": "string", "description": "The comment text"}
|
| 1706 |
},
|
| 1707 |
-
"required": ["owner", "repo", "
|
| 1708 |
}
|
| 1709 |
}
|
| 1710 |
},
|
| 1711 |
{
|
| 1712 |
"type": "function",
|
| 1713 |
"function": {
|
| 1714 |
-
"name": "
|
| 1715 |
-
"description": "
|
| 1716 |
"parameters": {
|
| 1717 |
"type": "object",
|
| 1718 |
"properties": {
|
| 1719 |
-
"
|
| 1720 |
-
"
|
|
|
|
| 1721 |
},
|
| 1722 |
-
"required": ["
|
| 1723 |
}
|
| 1724 |
}
|
| 1725 |
},
|
| 1726 |
{
|
| 1727 |
"type": "function",
|
| 1728 |
"function": {
|
| 1729 |
-
"name": "
|
| 1730 |
-
"description": "
|
| 1731 |
"parameters": {
|
| 1732 |
"type": "object",
|
| 1733 |
"properties": {
|
| 1734 |
-
"
|
| 1735 |
-
"
|
| 1736 |
-
"
|
| 1737 |
},
|
| 1738 |
-
"required": ["
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1739 |
}
|
| 1740 |
}
|
| 1741 |
},
|
|
|
|
| 1442 |
{
|
| 1443 |
"type": "function",
|
| 1444 |
"function": {
|
| 1445 |
+
"name": "actions_get",
|
| 1446 |
+
"description": "Gets detailed information about a specific GitHub Actions workflow run or related Actions resource",
|
| 1447 |
"parameters": {
|
| 1448 |
"type": "object",
|
| 1449 |
"properties": {
|
| 1450 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 1451 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 1452 |
+
"run_id": {"type": "integer", "description": "The ID of the workflow run"}
|
| 1453 |
+
},
|
| 1454 |
+
"required": ["owner", "repo", "run_id"]
|
| 1455 |
}
|
| 1456 |
}
|
| 1457 |
},
|
| 1458 |
{
|
| 1459 |
"type": "function",
|
| 1460 |
"function": {
|
| 1461 |
+
"name": "actions_list",
|
| 1462 |
+
"description": "Lists GitHub Actions workflows or workflow runs",
|
| 1463 |
"parameters": {
|
| 1464 |
"type": "object",
|
| 1465 |
"properties": {
|
| 1466 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 1467 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 1468 |
+
"per_page": {"type": "integer", "description": "Number of items per page"}
|
| 1469 |
},
|
| 1470 |
"required": ["owner", "repo"]
|
| 1471 |
}
|
|
|
|
| 1474 |
{
|
| 1475 |
"type": "function",
|
| 1476 |
"function": {
|
| 1477 |
+
"name": "actions_run_trigger",
|
| 1478 |
+
"description": "Triggers a GitHub Actions workflow manually",
|
| 1479 |
"parameters": {
|
| 1480 |
"type": "object",
|
| 1481 |
"properties": {
|
| 1482 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 1483 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 1484 |
+
"workflow_id": {"type": "string", "description": "Workflow ID or filename"},
|
| 1485 |
+
"ref": {"type": "string", "description": "Git reference (branch/tag)"},
|
| 1486 |
+
"inputs": {"type": "string", "description": "JSON inputs string"}
|
| 1487 |
},
|
| 1488 |
+
"required": ["owner", "repo", "workflow_id", "ref"]
|
| 1489 |
}
|
| 1490 |
}
|
| 1491 |
},
|
| 1492 |
{
|
| 1493 |
"type": "function",
|
| 1494 |
"function": {
|
| 1495 |
+
"name": "add_comment_to_pending_review",
|
| 1496 |
+
"description": "Adds a comment to a pull request review that has not yet been submitted",
|
| 1497 |
"parameters": {
|
| 1498 |
"type": "object",
|
| 1499 |
"properties": {
|
| 1500 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 1501 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 1502 |
+
"pull_number": {"type": "integer", "description": "Pull request number"},
|
| 1503 |
+
"review_id": {"type": "integer", "description": "Review ID"},
|
| 1504 |
+
"body": {"type": "string", "description": "Comment body"},
|
| 1505 |
+
"path": {"type": "string", "description": "File path"},
|
| 1506 |
+
"line": {"type": "integer", "description": "Line number"}
|
| 1507 |
},
|
| 1508 |
+
"required": ["owner", "repo", "pull_number", "review_id", "body", "path", "line"]
|
| 1509 |
}
|
| 1510 |
}
|
| 1511 |
},
|
| 1512 |
{
|
| 1513 |
"type": "function",
|
| 1514 |
"function": {
|
| 1515 |
+
"name": "add_issue_comment",
|
| 1516 |
+
"description": "Adds a new comment to a GitHub Issue",
|
| 1517 |
"parameters": {
|
| 1518 |
"type": "object",
|
| 1519 |
"properties": {
|
| 1520 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 1521 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 1522 |
+
"issue_number": {"type": "integer", "description": "Issue number"},
|
| 1523 |
+
"body": {"type": "string", "description": "Comment body text"}
|
| 1524 |
},
|
| 1525 |
+
"required": ["owner", "repo", "issue_number", "body"]
|
| 1526 |
+
}
|
| 1527 |
+
}
|
| 1528 |
+
},
|
| 1529 |
+
{
|
| 1530 |
+
"type": "function",
|
| 1531 |
+
"function": {
|
| 1532 |
+
"name": "add_issue_comment_reaction",
|
| 1533 |
+
"description": "Adds a reaction to an Issue comment",
|
| 1534 |
+
"parameters": {
|
| 1535 |
+
"type": "object",
|
| 1536 |
+
"properties": {
|
| 1537 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 1538 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 1539 |
+
"comment_id": {"type": "integer", "description": "Comment ID"},
|
| 1540 |
+
"content": {"type": "string", "enum": ["+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes"], "description": "Reaction type"}
|
| 1541 |
+
},
|
| 1542 |
+
"required": ["owner", "repo", "comment_id", "content"]
|
| 1543 |
+
}
|
| 1544 |
+
}
|
| 1545 |
+
},
|
| 1546 |
+
{
|
| 1547 |
+
"type": "function",
|
| 1548 |
+
"function": {
|
| 1549 |
+
"name": "add_issue_reaction",
|
| 1550 |
+
"description": "Adds a reaction to a GitHub Issue",
|
| 1551 |
+
"parameters": {
|
| 1552 |
+
"type": "object",
|
| 1553 |
+
"properties": {
|
| 1554 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 1555 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 1556 |
+
"issue_number": {"type": "integer", "description": "Issue number"},
|
| 1557 |
+
"content": {"type": "string", "enum": ["+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes"], "description": "Reaction type"}
|
| 1558 |
+
},
|
| 1559 |
+
"required": ["owner", "repo", "issue_number", "content"]
|
| 1560 |
+
}
|
| 1561 |
+
}
|
| 1562 |
+
},
|
| 1563 |
+
{
|
| 1564 |
+
"type": "function",
|
| 1565 |
+
"function": {
|
| 1566 |
+
"name": "add_pull_request_review_comment",
|
| 1567 |
+
"description": "Adds a review comment to a specific part of a Pull Request's code changes",
|
| 1568 |
+
"parameters": {
|
| 1569 |
+
"type": "object",
|
| 1570 |
+
"properties": {
|
| 1571 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 1572 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 1573 |
+
"pull_number": {"type": "integer", "description": "Pull request number"},
|
| 1574 |
+
"body": {"type": "string", "description": "Comment text"},
|
| 1575 |
+
"commit_id": {"type": "string", "description": "Commit SHA"},
|
| 1576 |
+
"path": {"type": "string", "description": "File path"},
|
| 1577 |
+
"line": {"type": "integer", "description": "Line number"}
|
| 1578 |
+
},
|
| 1579 |
+
"required": ["owner", "repo", "pull_number", "body", "commit_id", "path", "line"]
|
| 1580 |
+
}
|
| 1581 |
+
}
|
| 1582 |
+
},
|
| 1583 |
+
{
|
| 1584 |
+
"type": "function",
|
| 1585 |
+
"function": {
|
| 1586 |
+
"name": "add_pull_request_review_comment_reaction",
|
| 1587 |
+
"description": "Adds a reaction to a Pull Request review comment",
|
| 1588 |
+
"parameters": {
|
| 1589 |
+
"type": "object",
|
| 1590 |
+
"properties": {
|
| 1591 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 1592 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 1593 |
+
"comment_id": {"type": "integer", "description": "Comment ID"},
|
| 1594 |
+
"content": {"type": "string", "enum": ["+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes"], "description": "Reaction type"}
|
| 1595 |
+
},
|
| 1596 |
+
"required": ["owner", "repo", "comment_id", "content"]
|
| 1597 |
+
}
|
| 1598 |
+
}
|
| 1599 |
+
},
|
| 1600 |
+
{
|
| 1601 |
+
"type": "function",
|
| 1602 |
+
"function": {
|
| 1603 |
+
"name": "add_reply_to_pull_request_comment",
|
| 1604 |
+
"description": "Replies directly to an existing Pull Request review comment",
|
| 1605 |
+
"parameters": {
|
| 1606 |
+
"type": "object",
|
| 1607 |
+
"properties": {
|
| 1608 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 1609 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 1610 |
+
"pull_number": {"type": "integer", "description": "Pull request number"},
|
| 1611 |
+
"comment_id": {"type": "integer", "description": "Comment ID to reply to"},
|
| 1612 |
+
"body": {"type": "string", "description": "Reply text"}
|
| 1613 |
+
},
|
| 1614 |
+
"required": ["owner", "repo", "pull_number", "comment_id", "body"]
|
| 1615 |
+
}
|
| 1616 |
+
}
|
| 1617 |
+
},
|
| 1618 |
+
{
|
| 1619 |
+
"type": "function",
|
| 1620 |
+
"function": {
|
| 1621 |
+
"name": "add_sub_issue",
|
| 1622 |
+
"description": "Adds an Issue as a sub-issue of another Issue",
|
| 1623 |
+
"parameters": {
|
| 1624 |
+
"type": "object",
|
| 1625 |
+
"properties": {
|
| 1626 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 1627 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 1628 |
+
"parent_issue_number": {"type": "integer", "description": "Parent issue number"},
|
| 1629 |
+
"sub_issue_id": {"type": "integer", "description": "Sub issue ID"}
|
| 1630 |
+
},
|
| 1631 |
+
"required": ["owner", "repo", "parent_issue_number", "sub_issue_id"]
|
| 1632 |
+
}
|
| 1633 |
+
}
|
| 1634 |
+
},
|
| 1635 |
+
{
|
| 1636 |
+
"type": "function",
|
| 1637 |
+
"function": {
|
| 1638 |
+
"name": "assign_copilot_to_issue",
|
| 1639 |
+
"description": "Assigns GitHub Copilot to work on a GitHub Issue",
|
| 1640 |
+
"parameters": {
|
| 1641 |
+
"type": "object",
|
| 1642 |
+
"properties": {
|
| 1643 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 1644 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 1645 |
+
"issue_number": {"type": "integer", "description": "Issue number"}
|
| 1646 |
+
},
|
| 1647 |
+
"required": ["owner", "repo", "issue_number"]
|
| 1648 |
+
}
|
| 1649 |
+
}
|
| 1650 |
+
},
|
| 1651 |
+
{
|
| 1652 |
+
"type": "function",
|
| 1653 |
+
"function": {
|
| 1654 |
+
"name": "assign_copilot_to_issue_with_intent",
|
| 1655 |
+
"description": "Assigns Copilot to an Issue while specifying intended work or objective",
|
| 1656 |
+
"parameters": {
|
| 1657 |
+
"type": "object",
|
| 1658 |
+
"properties": {
|
| 1659 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 1660 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 1661 |
+
"issue_number": {"type": "integer", "description": "Issue number"},
|
| 1662 |
+
"intent": {"type": "string", "description": "Intended objective"}
|
| 1663 |
+
},
|
| 1664 |
+
"required": ["owner", "repo", "issue_number", "intent"]
|
| 1665 |
+
}
|
| 1666 |
+
}
|
| 1667 |
+
},
|
| 1668 |
+
{
|
| 1669 |
+
"type": "function",
|
| 1670 |
+
"function": {
|
| 1671 |
+
"name": "create_branch",
|
| 1672 |
+
"description": "Creates a new Git branch from an existing branch or commit",
|
| 1673 |
+
"parameters": {
|
| 1674 |
+
"type": "object",
|
| 1675 |
+
"properties": {
|
| 1676 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 1677 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 1678 |
+
"branch": {"type": "string", "description": "New branch name"},
|
| 1679 |
+
"from_branch": {"type": "string", "description": "Source branch name or commit SHA"}
|
| 1680 |
+
},
|
| 1681 |
+
"required": ["owner", "repo", "branch"]
|
| 1682 |
+
}
|
| 1683 |
+
}
|
| 1684 |
+
},
|
| 1685 |
+
{
|
| 1686 |
+
"type": "function",
|
| 1687 |
+
"function": {
|
| 1688 |
+
"name": "create_gist",
|
| 1689 |
+
"description": "Creates a GitHub Gist for storing and sharing small pieces of code or text",
|
| 1690 |
+
"parameters": {
|
| 1691 |
+
"type": "object",
|
| 1692 |
+
"properties": {
|
| 1693 |
+
"description": {"type": "string", "description": "Gist description"},
|
| 1694 |
+
"public": {"type": "boolean", "description": "Whether the gist is public"},
|
| 1695 |
+
"files": {"type": "string", "description": "JSON object mapping filename to content object e.g. {'file.txt': {'content': 'hello'}}"}
|
| 1696 |
+
},
|
| 1697 |
+
"required": ["files"]
|
| 1698 |
+
}
|
| 1699 |
+
}
|
| 1700 |
+
},
|
| 1701 |
+
{
|
| 1702 |
+
"type": "function",
|
| 1703 |
+
"function": {
|
| 1704 |
+
"name": "create_issue",
|
| 1705 |
+
"description": "Creates a new GitHub Issue with information such as title, description, labels, or assignees",
|
| 1706 |
+
"parameters": {
|
| 1707 |
+
"type": "object",
|
| 1708 |
+
"properties": {
|
| 1709 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 1710 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 1711 |
+
"title": {"type": "string", "description": "Issue title"},
|
| 1712 |
+
"body": {"type": "string", "description": "Issue description/body"},
|
| 1713 |
+
"assignees": {"type": "string", "description": "Comma-separated list of usernames"},
|
| 1714 |
+
"labels": {"type": "string", "description": "Comma-separated list of label names"}
|
| 1715 |
+
},
|
| 1716 |
+
"required": ["owner", "repo", "title"]
|
| 1717 |
}
|
| 1718 |
}
|
| 1719 |
},
|
| 1720 |
{
|
| 1721 |
"type": "function",
|
| 1722 |
"function": {
|
| 1723 |
+
"name": "create_or_update_file",
|
| 1724 |
+
"description": "Creates a new file in a repository or updates an existing file with new content",
|
| 1725 |
"parameters": {
|
| 1726 |
"type": "object",
|
| 1727 |
"properties": {
|
| 1728 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 1729 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 1730 |
+
"path": {"type": "string", "description": "File path"},
|
| 1731 |
+
"message": {"type": "string", "description": "Commit message"},
|
| 1732 |
+
"content": {"type": "string", "description": "File content string"},
|
| 1733 |
+
"branch": {"type": "string", "description": "Branch name"},
|
| 1734 |
+
"sha": {"type": "string", "description": "Blob SHA if replacing existing file"}
|
| 1735 |
},
|
| 1736 |
"required": ["owner", "repo", "path", "message", "content"]
|
| 1737 |
}
|
|
|
|
| 1740 |
{
|
| 1741 |
"type": "function",
|
| 1742 |
"function": {
|
| 1743 |
+
"name": "create_pull_request",
|
| 1744 |
+
"description": "Creates a new Pull Request between branches so code changes can be reviewed and merged",
|
| 1745 |
+
"parameters": {
|
| 1746 |
+
"type": "object",
|
| 1747 |
+
"properties": {
|
| 1748 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 1749 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 1750 |
+
"title": {"type": "string", "description": "Pull request title"},
|
| 1751 |
+
"head": {"type": "string", "description": "Head branch"},
|
| 1752 |
+
"base": {"type": "string", "description": "Base branch (e.g. main)"},
|
| 1753 |
+
"body": {"type": "string", "description": "Pull request description"},
|
| 1754 |
+
"draft": {"type": "boolean", "description": "Create as draft PR"}
|
| 1755 |
+
},
|
| 1756 |
+
"required": ["owner", "repo", "title", "head", "base"]
|
| 1757 |
+
}
|
| 1758 |
+
}
|
| 1759 |
+
},
|
| 1760 |
+
{
|
| 1761 |
+
"type": "function",
|
| 1762 |
+
"function": {
|
| 1763 |
+
"name": "create_pull_request_review",
|
| 1764 |
+
"description": "Creates a formal review on a Pull Request, such as approving it or requesting changes",
|
| 1765 |
+
"parameters": {
|
| 1766 |
+
"type": "object",
|
| 1767 |
+
"properties": {
|
| 1768 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 1769 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 1770 |
+
"pull_number": {"type": "integer", "description": "Pull request number"},
|
| 1771 |
+
"event": {"type": "string", "enum": ["APPROVE", "REQUEST_CHANGES", "COMMENT"], "description": "Review action"},
|
| 1772 |
+
"body": {"type": "string", "description": "Review summary message"}
|
| 1773 |
+
},
|
| 1774 |
+
"required": ["owner", "repo", "pull_number", "event"]
|
| 1775 |
+
}
|
| 1776 |
+
}
|
| 1777 |
+
},
|
| 1778 |
+
{
|
| 1779 |
+
"type": "function",
|
| 1780 |
+
"function": {
|
| 1781 |
+
"name": "create_pull_request_with_copilot",
|
| 1782 |
+
"description": "Creates a Pull Request involving GitHub Copilot-assisted development when supported",
|
| 1783 |
+
"parameters": {
|
| 1784 |
+
"type": "object",
|
| 1785 |
+
"properties": {
|
| 1786 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 1787 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 1788 |
+
"title": {"type": "string", "description": "PR title"},
|
| 1789 |
+
"head": {"type": "string", "description": "Head branch"},
|
| 1790 |
+
"base": {"type": "string", "description": "Base branch"},
|
| 1791 |
+
"body": {"type": "string", "description": "PR body"}
|
| 1792 |
+
},
|
| 1793 |
+
"required": ["owner", "repo", "title", "head", "base"]
|
| 1794 |
+
}
|
| 1795 |
+
}
|
| 1796 |
+
},
|
| 1797 |
+
{
|
| 1798 |
+
"type": "function",
|
| 1799 |
+
"function": {
|
| 1800 |
+
"name": "create_repository",
|
| 1801 |
+
"description": "Creates a new GitHub repository for storing a project or codebase",
|
| 1802 |
+
"parameters": {
|
| 1803 |
+
"type": "object",
|
| 1804 |
+
"properties": {
|
| 1805 |
+
"name": {"type": "string", "description": "Repository name"},
|
| 1806 |
+
"description": {"type": "string", "description": "Repository description"},
|
| 1807 |
+
"private": {"type": "boolean", "description": "Whether repository is private"},
|
| 1808 |
+
"auto_init": {"type": "boolean", "description": "Initialize with README"}
|
| 1809 |
+
},
|
| 1810 |
+
"required": ["name"]
|
| 1811 |
+
}
|
| 1812 |
+
}
|
| 1813 |
+
},
|
| 1814 |
+
{
|
| 1815 |
+
"type": "function",
|
| 1816 |
+
"function": {
|
| 1817 |
+
"name": "delete_file",
|
| 1818 |
+
"description": "Deletes a specific file from a repository and records the change through Git",
|
| 1819 |
"parameters": {
|
| 1820 |
"type": "object",
|
| 1821 |
"properties": {
|
| 1822 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 1823 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 1824 |
+
"path": {"type": "string", "description": "Path to file"},
|
| 1825 |
+
"message": {"type": "string", "description": "Commit message"},
|
| 1826 |
+
"sha": {"type": "string", "description": "Blob SHA"},
|
| 1827 |
+
"branch": {"type": "string", "description": "Branch name"}
|
| 1828 |
},
|
| 1829 |
"required": ["owner", "repo", "path", "message", "sha"]
|
| 1830 |
}
|
|
|
|
| 1833 |
{
|
| 1834 |
"type": "function",
|
| 1835 |
"function": {
|
| 1836 |
+
"name": "delete_pending_pull_request_review",
|
| 1837 |
+
"description": "Deletes an unpublished/pending Pull Request review before it is submitted",
|
| 1838 |
+
"parameters": {
|
| 1839 |
+
"type": "object",
|
| 1840 |
+
"properties": {
|
| 1841 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 1842 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 1843 |
+
"pull_number": {"type": "integer", "description": "Pull request number"},
|
| 1844 |
+
"review_id": {"type": "integer", "description": "Review ID"}
|
| 1845 |
+
},
|
| 1846 |
+
"required": ["owner", "repo", "pull_number", "review_id"]
|
| 1847 |
+
}
|
| 1848 |
+
}
|
| 1849 |
+
},
|
| 1850 |
+
{
|
| 1851 |
+
"type": "function",
|
| 1852 |
+
"function": {
|
| 1853 |
+
"name": "delete_repository",
|
| 1854 |
+
"description": "Deletes an entire GitHub repository. This is a highly destructive operation",
|
| 1855 |
"parameters": {
|
| 1856 |
"type": "object",
|
| 1857 |
"properties": {
|
| 1858 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 1859 |
+
"repo": {"type": "string", "description": "Repository name"}
|
| 1860 |
},
|
| 1861 |
"required": ["owner", "repo"]
|
| 1862 |
}
|
|
|
|
| 1865 |
{
|
| 1866 |
"type": "function",
|
| 1867 |
"function": {
|
| 1868 |
+
"name": "discussion_comment_write",
|
| 1869 |
+
"description": "Writes or manages a comment in a GitHub Discussion",
|
| 1870 |
"parameters": {
|
| 1871 |
"type": "object",
|
| 1872 |
"properties": {
|
| 1873 |
+
"discussion_id": {"type": "string", "description": "Discussion node ID"},
|
| 1874 |
+
"body": {"type": "string", "description": "Comment text"}
|
|
|
|
|
|
|
| 1875 |
},
|
| 1876 |
+
"required": ["discussion_id", "body"]
|
| 1877 |
}
|
| 1878 |
}
|
| 1879 |
},
|
| 1880 |
{
|
| 1881 |
"type": "function",
|
| 1882 |
"function": {
|
| 1883 |
+
"name": "dismiss_notification",
|
| 1884 |
+
"description": "Dismisses a specific GitHub notification so it no longer remains active",
|
| 1885 |
"parameters": {
|
| 1886 |
"type": "object",
|
| 1887 |
"properties": {
|
| 1888 |
+
"thread_id": {"type": "string", "description": "Notification thread ID"}
|
|
|
|
|
|
|
|
|
|
| 1889 |
},
|
| 1890 |
+
"required": ["thread_id"]
|
| 1891 |
+
}
|
| 1892 |
+
}
|
| 1893 |
+
},
|
| 1894 |
+
{
|
| 1895 |
+
"type": "function",
|
| 1896 |
+
"function": {
|
| 1897 |
+
"name": "find_duplicate_ff_duplicate_detection",
|
| 1898 |
+
"description": "Helps detect whether an Issue may be a duplicate of another Issue",
|
| 1899 |
+
"parameters": {
|
| 1900 |
+
"type": "object",
|
| 1901 |
+
"properties": {
|
| 1902 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 1903 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 1904 |
+
"issue_number": {"type": "integer", "description": "Issue number to check"}
|
| 1905 |
+
},
|
| 1906 |
+
"required": ["owner", "repo", "issue_number"]
|
| 1907 |
}
|
| 1908 |
}
|
| 1909 |
},
|
| 1910 |
{
|
| 1911 |
"type": "function",
|
| 1912 |
"function": {
|
| 1913 |
+
"name": "fork_repository",
|
| 1914 |
+
"description": "Creates a fork of an existing GitHub repository under another account or organization",
|
| 1915 |
"parameters": {
|
| 1916 |
"type": "object",
|
| 1917 |
"properties": {
|
| 1918 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 1919 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 1920 |
+
"organization": {"type": "string", "description": "Target organization name"}
|
| 1921 |
},
|
| 1922 |
"required": ["owner", "repo"]
|
| 1923 |
}
|
|
|
|
| 1926 |
{
|
| 1927 |
"type": "function",
|
| 1928 |
"function": {
|
| 1929 |
+
"name": "get_code_quality_finding",
|
| 1930 |
+
"description": "Retrieves information about a code-quality finding detected in a repository",
|
| 1931 |
"parameters": {
|
| 1932 |
"type": "object",
|
| 1933 |
"properties": {
|
| 1934 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 1935 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 1936 |
+
"finding_id": {"type": "string", "description": "Finding identifier"}
|
|
|
|
|
|
|
|
|
|
| 1937 |
},
|
| 1938 |
+
"required": ["owner", "repo", "finding_id"]
|
| 1939 |
}
|
| 1940 |
}
|
| 1941 |
},
|
| 1942 |
{
|
| 1943 |
"type": "function",
|
| 1944 |
"function": {
|
| 1945 |
+
"name": "get_code_scanning_alert",
|
| 1946 |
+
"description": "Gets details about a specific code-scanning security alert",
|
| 1947 |
"parameters": {
|
| 1948 |
"type": "object",
|
| 1949 |
"properties": {
|
| 1950 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 1951 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 1952 |
+
"alert_number": {"type": "integer", "description": "Alert number"}
|
|
|
|
|
|
|
| 1953 |
},
|
| 1954 |
+
"required": ["owner", "repo", "alert_number"]
|
| 1955 |
}
|
| 1956 |
}
|
| 1957 |
},
|
| 1958 |
{
|
| 1959 |
"type": "function",
|
| 1960 |
"function": {
|
| 1961 |
+
"name": "get_commit",
|
| 1962 |
+
"description": "Retrieves detailed information about a specific Git commit",
|
| 1963 |
"parameters": {
|
| 1964 |
"type": "object",
|
| 1965 |
"properties": {
|
| 1966 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 1967 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 1968 |
+
"commit_sha": {"type": "string", "description": "Commit SHA"}
|
| 1969 |
},
|
| 1970 |
+
"required": ["owner", "repo", "commit_sha"]
|
| 1971 |
}
|
| 1972 |
}
|
| 1973 |
},
|
| 1974 |
{
|
| 1975 |
"type": "function",
|
| 1976 |
"function": {
|
| 1977 |
+
"name": "get_copilot_space",
|
| 1978 |
+
"description": "Gets information about a GitHub Copilot Space",
|
| 1979 |
"parameters": {
|
| 1980 |
"type": "object",
|
| 1981 |
"properties": {
|
| 1982 |
+
"space_id": {"type": "string", "description": "Copilot Space ID"}
|
|
|
|
|
|
|
|
|
|
| 1983 |
},
|
| 1984 |
+
"required": ["space_id"]
|
| 1985 |
}
|
| 1986 |
}
|
| 1987 |
},
|
| 1988 |
{
|
| 1989 |
"type": "function",
|
| 1990 |
"function": {
|
| 1991 |
+
"name": "get_dependabot_alert",
|
| 1992 |
+
"description": "Retrieves details about a Dependabot vulnerability/dependency alert",
|
| 1993 |
"parameters": {
|
| 1994 |
"type": "object",
|
| 1995 |
"properties": {
|
| 1996 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 1997 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 1998 |
+
"alert_number": {"type": "integer", "description": "Alert number"}
|
|
|
|
| 1999 |
},
|
| 2000 |
+
"required": ["owner", "repo", "alert_number"]
|
| 2001 |
}
|
| 2002 |
}
|
| 2003 |
},
|
| 2004 |
{
|
| 2005 |
"type": "function",
|
| 2006 |
"function": {
|
| 2007 |
+
"name": "get_discussion",
|
| 2008 |
+
"description": "Gets information about a specific GitHub Discussion",
|
| 2009 |
"parameters": {
|
| 2010 |
"type": "object",
|
| 2011 |
"properties": {
|
| 2012 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2013 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2014 |
+
"discussion_number": {"type": "integer", "description": "Discussion number"}
|
| 2015 |
},
|
| 2016 |
+
"required": ["owner", "repo", "discussion_number"]
|
| 2017 |
}
|
| 2018 |
}
|
| 2019 |
},
|
| 2020 |
{
|
| 2021 |
"type": "function",
|
| 2022 |
"function": {
|
| 2023 |
+
"name": "get_discussion_comments",
|
| 2024 |
+
"description": "Retrieves comments belonging to a GitHub Discussion",
|
| 2025 |
"parameters": {
|
| 2026 |
"type": "object",
|
| 2027 |
"properties": {
|
| 2028 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2029 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2030 |
+
"discussion_number": {"type": "integer", "description": "Discussion number"}
|
| 2031 |
},
|
| 2032 |
+
"required": ["owner", "repo", "discussion_number"]
|
| 2033 |
+
}
|
| 2034 |
+
}
|
| 2035 |
+
},
|
| 2036 |
+
{
|
| 2037 |
+
"type": "function",
|
| 2038 |
+
"function": {
|
| 2039 |
+
"name": "get_file_blame",
|
| 2040 |
+
"description": "Shows which commit or contributor is responsible for individual lines of a file",
|
| 2041 |
+
"parameters": {
|
| 2042 |
+
"type": "object",
|
| 2043 |
+
"properties": {
|
| 2044 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2045 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2046 |
+
"path": {"type": "string", "description": "Path to file"},
|
| 2047 |
+
"ref": {"type": "string", "description": "Git ref/branch"}
|
| 2048 |
+
},
|
| 2049 |
+
"required": ["owner", "repo", "path"]
|
| 2050 |
+
}
|
| 2051 |
+
}
|
| 2052 |
+
},
|
| 2053 |
+
{
|
| 2054 |
+
"type": "function",
|
| 2055 |
+
"function": {
|
| 2056 |
+
"name": "get_file_contents",
|
| 2057 |
+
"description": "Reads the contents of a file from a GitHub repository",
|
| 2058 |
+
"parameters": {
|
| 2059 |
+
"type": "object",
|
| 2060 |
+
"properties": {
|
| 2061 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2062 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2063 |
+
"path": {"type": "string", "description": "Path to file or folder"},
|
| 2064 |
+
"ref": {"type": "string", "description": "Branch, tag, or commit SHA"}
|
| 2065 |
+
},
|
| 2066 |
+
"required": ["owner", "repo", "path"]
|
| 2067 |
+
}
|
| 2068 |
+
}
|
| 2069 |
+
},
|
| 2070 |
+
{
|
| 2071 |
+
"type": "function",
|
| 2072 |
+
"function": {
|
| 2073 |
+
"name": "get_gist",
|
| 2074 |
+
"description": "Retrieves the contents and information of a specific GitHub Gist",
|
| 2075 |
+
"parameters": {
|
| 2076 |
+
"type": "object",
|
| 2077 |
+
"properties": {
|
| 2078 |
+
"gist_id": {"type": "string", "description": "The ID of the gist"}
|
| 2079 |
+
},
|
| 2080 |
+
"required": ["gist_id"]
|
| 2081 |
+
}
|
| 2082 |
+
}
|
| 2083 |
+
},
|
| 2084 |
+
{
|
| 2085 |
+
"type": "function",
|
| 2086 |
+
"function": {
|
| 2087 |
+
"name": "get_global_security_advisory",
|
| 2088 |
+
"description": "Gets information about a GitHub global security advisory",
|
| 2089 |
+
"parameters": {
|
| 2090 |
+
"type": "object",
|
| 2091 |
+
"properties": {
|
| 2092 |
+
"ghsa_id": {"type": "string", "description": "GHSA identifier"}
|
| 2093 |
+
},
|
| 2094 |
+
"required": ["ghsa_id"]
|
| 2095 |
+
}
|
| 2096 |
+
}
|
| 2097 |
+
},
|
| 2098 |
+
{
|
| 2099 |
+
"type": "function",
|
| 2100 |
+
"function": {
|
| 2101 |
+
"name": "get_job_logs",
|
| 2102 |
+
"description": "Retrieves logs from a GitHub Actions job, useful for diagnosing failed workflows",
|
| 2103 |
+
"parameters": {
|
| 2104 |
+
"type": "object",
|
| 2105 |
+
"properties": {
|
| 2106 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2107 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2108 |
+
"job_id": {"type": "integer", "description": "Job ID"}
|
| 2109 |
+
},
|
| 2110 |
+
"required": ["owner", "repo", "job_id"]
|
| 2111 |
+
}
|
| 2112 |
+
}
|
| 2113 |
+
},
|
| 2114 |
+
{
|
| 2115 |
+
"type": "function",
|
| 2116 |
+
"function": {
|
| 2117 |
+
"name": "get_label",
|
| 2118 |
+
"description": "Gets information about a specific GitHub Issue/Pull Request label",
|
| 2119 |
+
"parameters": {
|
| 2120 |
+
"type": "object",
|
| 2121 |
+
"properties": {
|
| 2122 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2123 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2124 |
+
"name": {"type": "string", "description": "Label name"}
|
| 2125 |
+
},
|
| 2126 |
+
"required": ["owner", "repo", "name"]
|
| 2127 |
+
}
|
| 2128 |
+
}
|
| 2129 |
+
},
|
| 2130 |
+
{
|
| 2131 |
+
"type": "function",
|
| 2132 |
+
"function": {
|
| 2133 |
+
"name": "get_latest_release",
|
| 2134 |
+
"description": "Gets information about the latest release published by a repository",
|
| 2135 |
+
"parameters": {
|
| 2136 |
+
"type": "object",
|
| 2137 |
+
"properties": {
|
| 2138 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2139 |
+
"repo": {"type": "string", "description": "Repository name"}
|
| 2140 |
+
},
|
| 2141 |
+
"required": ["owner", "repo"]
|
| 2142 |
+
}
|
| 2143 |
+
}
|
| 2144 |
+
},
|
| 2145 |
+
{
|
| 2146 |
+
"type": "function",
|
| 2147 |
+
"function": {
|
| 2148 |
+
"name": "get_me",
|
| 2149 |
+
"description": "Gets information about the currently authenticated GitHub user",
|
| 2150 |
+
"parameters": {
|
| 2151 |
+
"type": "object",
|
| 2152 |
+
"properties": {}
|
| 2153 |
+
}
|
| 2154 |
+
}
|
| 2155 |
+
},
|
| 2156 |
+
{
|
| 2157 |
+
"type": "function",
|
| 2158 |
+
"function": {
|
| 2159 |
+
"name": "get_notification_details",
|
| 2160 |
+
"description": "Gets detailed information about a specific GitHub notification",
|
| 2161 |
+
"parameters": {
|
| 2162 |
+
"type": "object",
|
| 2163 |
+
"properties": {
|
| 2164 |
+
"thread_id": {"type": "string", "description": "Notification thread ID"}
|
| 2165 |
+
},
|
| 2166 |
+
"required": ["thread_id"]
|
| 2167 |
+
}
|
| 2168 |
+
}
|
| 2169 |
+
},
|
| 2170 |
+
{
|
| 2171 |
+
"type": "function",
|
| 2172 |
+
"function": {
|
| 2173 |
+
"name": "get_release_by_tag",
|
| 2174 |
+
"description": "Gets a GitHub Release associated with a specific tag",
|
| 2175 |
+
"parameters": {
|
| 2176 |
+
"type": "object",
|
| 2177 |
+
"properties": {
|
| 2178 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2179 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2180 |
+
"tag": {"type": "string", "description": "Tag name"}
|
| 2181 |
+
},
|
| 2182 |
+
"required": ["owner", "repo", "tag"]
|
| 2183 |
+
}
|
| 2184 |
+
}
|
| 2185 |
+
},
|
| 2186 |
+
{
|
| 2187 |
+
"type": "function",
|
| 2188 |
+
"function": {
|
| 2189 |
+
"name": "get_repository_tree",
|
| 2190 |
+
"description": "Retrieves the directory/file tree of a repository",
|
| 2191 |
+
"parameters": {
|
| 2192 |
+
"type": "object",
|
| 2193 |
+
"properties": {
|
| 2194 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2195 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2196 |
+
"tree_sha": {"type": "string", "description": "Tree SHA or branch name"},
|
| 2197 |
+
"recursive": {"type": "boolean", "description": "Fetch tree recursively"}
|
| 2198 |
+
},
|
| 2199 |
+
"required": ["owner", "repo", "tree_sha"]
|
| 2200 |
+
}
|
| 2201 |
+
}
|
| 2202 |
+
},
|
| 2203 |
+
{
|
| 2204 |
+
"type": "function",
|
| 2205 |
+
"function": {
|
| 2206 |
+
"name": "get_secret_scanning_alert",
|
| 2207 |
+
"description": "Gets details about a secret detected by GitHub Secret Scanning",
|
| 2208 |
+
"parameters": {
|
| 2209 |
+
"type": "object",
|
| 2210 |
+
"properties": {
|
| 2211 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2212 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2213 |
+
"alert_number": {"type": "integer", "description": "Secret alert number"}
|
| 2214 |
+
},
|
| 2215 |
+
"required": ["owner", "repo", "alert_number"]
|
| 2216 |
+
}
|
| 2217 |
+
}
|
| 2218 |
+
},
|
| 2219 |
+
{
|
| 2220 |
+
"type": "function",
|
| 2221 |
+
"function": {
|
| 2222 |
+
"name": "get_tag",
|
| 2223 |
+
"description": "Gets information about a specific Git tag",
|
| 2224 |
+
"parameters": {
|
| 2225 |
+
"type": "object",
|
| 2226 |
+
"properties": {
|
| 2227 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2228 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2229 |
+
"tag_sha": {"type": "string", "description": "Tag SHA"}
|
| 2230 |
+
},
|
| 2231 |
+
"required": ["owner", "repo", "tag_sha"]
|
| 2232 |
+
}
|
| 2233 |
+
}
|
| 2234 |
+
},
|
| 2235 |
+
{
|
| 2236 |
+
"type": "function",
|
| 2237 |
+
"function": {
|
| 2238 |
+
"name": "get_team_members",
|
| 2239 |
+
"description": "Lists members belonging to a GitHub team",
|
| 2240 |
+
"parameters": {
|
| 2241 |
+
"type": "object",
|
| 2242 |
+
"properties": {
|
| 2243 |
+
"org": {"type": "string", "description": "Organization slug"},
|
| 2244 |
+
"team_slug": {"type": "string", "description": "Team slug"}
|
| 2245 |
+
},
|
| 2246 |
+
"required": ["org", "team_slug"]
|
| 2247 |
+
}
|
| 2248 |
+
}
|
| 2249 |
+
},
|
| 2250 |
+
{
|
| 2251 |
+
"type": "function",
|
| 2252 |
+
"function": {
|
| 2253 |
+
"name": "get_teams",
|
| 2254 |
+
"description": "Gets teams associated with an organization",
|
| 2255 |
+
"parameters": {
|
| 2256 |
+
"type": "object",
|
| 2257 |
+
"properties": {
|
| 2258 |
+
"org": {"type": "string", "description": "Organization slug"}
|
| 2259 |
+
},
|
| 2260 |
+
"required": ["org"]
|
| 2261 |
+
}
|
| 2262 |
+
}
|
| 2263 |
+
},
|
| 2264 |
+
{
|
| 2265 |
+
"type": "function",
|
| 2266 |
+
"function": {
|
| 2267 |
+
"name": "github_support_docs_search",
|
| 2268 |
+
"description": "Searches GitHub documentation and support information",
|
| 2269 |
+
"parameters": {
|
| 2270 |
+
"type": "object",
|
| 2271 |
+
"properties": {
|
| 2272 |
+
"query": {"type": "string", "description": "Documentation search query"}
|
| 2273 |
+
},
|
| 2274 |
+
"required": ["query"]
|
| 2275 |
+
}
|
| 2276 |
+
}
|
| 2277 |
+
},
|
| 2278 |
+
{
|
| 2279 |
+
"type": "function",
|
| 2280 |
+
"function": {
|
| 2281 |
+
"name": "issue_dependency_read_ff_issue_dependencies",
|
| 2282 |
+
"description": "Reads dependency relationships between GitHub Issues",
|
| 2283 |
+
"parameters": {
|
| 2284 |
+
"type": "object",
|
| 2285 |
+
"properties": {
|
| 2286 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2287 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2288 |
+
"issue_number": {"type": "integer", "description": "Issue number"}
|
| 2289 |
+
},
|
| 2290 |
+
"required": ["owner", "repo", "issue_number"]
|
| 2291 |
+
}
|
| 2292 |
+
}
|
| 2293 |
+
},
|
| 2294 |
+
{
|
| 2295 |
+
"type": "function",
|
| 2296 |
+
"function": {
|
| 2297 |
+
"name": "issue_dependency_write_ff_issue_dependencies",
|
| 2298 |
+
"description": "Creates or modifies dependency relationships between Issues",
|
| 2299 |
+
"parameters": {
|
| 2300 |
+
"type": "object",
|
| 2301 |
+
"properties": {
|
| 2302 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2303 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2304 |
+
"issue_number": {"type": "integer", "description": "Issue number"},
|
| 2305 |
+
"blocked_by_issue_number": {"type": "integer", "description": "Issue number blocking this issue"}
|
| 2306 |
+
},
|
| 2307 |
+
"required": ["owner", "repo", "issue_number", "blocked_by_issue_number"]
|
| 2308 |
+
}
|
| 2309 |
+
}
|
| 2310 |
+
},
|
| 2311 |
+
{
|
| 2312 |
+
"type": "function",
|
| 2313 |
+
"function": {
|
| 2314 |
+
"name": "issue_read",
|
| 2315 |
+
"description": "Reads detailed information about a GitHub Issue",
|
| 2316 |
+
"parameters": {
|
| 2317 |
+
"type": "object",
|
| 2318 |
+
"properties": {
|
| 2319 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2320 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2321 |
+
"issue_number": {"type": "integer", "description": "Issue number"}
|
| 2322 |
+
},
|
| 2323 |
+
"required": ["owner", "repo", "issue_number"]
|
| 2324 |
+
}
|
| 2325 |
+
}
|
| 2326 |
+
},
|
| 2327 |
+
{
|
| 2328 |
+
"type": "function",
|
| 2329 |
+
"function": {
|
| 2330 |
+
"name": "issue_write",
|
| 2331 |
+
"description": "Creates or modifies Issue information through a broader Issue-management operation",
|
| 2332 |
+
"parameters": {
|
| 2333 |
+
"type": "object",
|
| 2334 |
+
"properties": {
|
| 2335 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2336 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2337 |
+
"issue_number": {"type": "integer", "description": "Optional issue number to update"},
|
| 2338 |
+
"title": {"type": "string", "description": "Issue title"},
|
| 2339 |
+
"body": {"type": "string", "description": "Issue body"},
|
| 2340 |
+
"state": {"type": "string", "enum": ["open", "closed"], "description": "Issue state"}
|
| 2341 |
+
},
|
| 2342 |
+
"required": ["owner", "repo"]
|
| 2343 |
+
}
|
| 2344 |
+
}
|
| 2345 |
+
},
|
| 2346 |
+
{
|
| 2347 |
+
"type": "function",
|
| 2348 |
+
"function": {
|
| 2349 |
+
"name": "label_write",
|
| 2350 |
+
"description": "Creates, updates, or manages labels used by Issues and Pull Requests",
|
| 2351 |
+
"parameters": {
|
| 2352 |
+
"type": "object",
|
| 2353 |
+
"properties": {
|
| 2354 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2355 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2356 |
+
"name": {"type": "string", "description": "Label name"},
|
| 2357 |
+
"color": {"type": "string", "description": "6-character hex code without #"},
|
| 2358 |
+
"description": {"type": "string", "description": "Label description"},
|
| 2359 |
+
"new_name": {"type": "string", "description": "Optional new name for updating"}
|
| 2360 |
+
},
|
| 2361 |
+
"required": ["owner", "repo", "name"]
|
| 2362 |
+
}
|
| 2363 |
+
}
|
| 2364 |
+
},
|
| 2365 |
+
{
|
| 2366 |
+
"type": "function",
|
| 2367 |
+
"function": {
|
| 2368 |
+
"name": "list_branches",
|
| 2369 |
+
"description": "Lists branches available in a repository",
|
| 2370 |
+
"parameters": {
|
| 2371 |
+
"type": "object",
|
| 2372 |
+
"properties": {
|
| 2373 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2374 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2375 |
+
"per_page": {"type": "integer", "description": "Results per page"}
|
| 2376 |
+
},
|
| 2377 |
+
"required": ["owner", "repo"]
|
| 2378 |
+
}
|
| 2379 |
+
}
|
| 2380 |
+
},
|
| 2381 |
+
{
|
| 2382 |
+
"type": "function",
|
| 2383 |
+
"function": {
|
| 2384 |
+
"name": "list_code_scanning_alerts",
|
| 2385 |
+
"description": "Lists code-scanning security alerts for a repository",
|
| 2386 |
+
"parameters": {
|
| 2387 |
+
"type": "object",
|
| 2388 |
+
"properties": {
|
| 2389 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2390 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2391 |
+
"state": {"type": "string", "enum": ["open", "closed", "dismissed", "fixed"], "description": "Alert state"}
|
| 2392 |
+
},
|
| 2393 |
+
"required": ["owner", "repo"]
|
| 2394 |
+
}
|
| 2395 |
+
}
|
| 2396 |
+
},
|
| 2397 |
+
{
|
| 2398 |
+
"type": "function",
|
| 2399 |
+
"function": {
|
| 2400 |
+
"name": "list_commits",
|
| 2401 |
+
"description": "Lists commits from a repository, allowing the AI to inspect project history",
|
| 2402 |
+
"parameters": {
|
| 2403 |
+
"type": "object",
|
| 2404 |
+
"properties": {
|
| 2405 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2406 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2407 |
+
"branch": {"type": "string", "description": "Branch name or SHA"},
|
| 2408 |
+
"per_page": {"type": "integer", "description": "Number of commits, default 10"}
|
| 2409 |
+
},
|
| 2410 |
+
"required": ["owner", "repo"]
|
| 2411 |
+
}
|
| 2412 |
+
}
|
| 2413 |
+
},
|
| 2414 |
+
{
|
| 2415 |
+
"type": "function",
|
| 2416 |
+
"function": {
|
| 2417 |
+
"name": "list_copilot_spaces",
|
| 2418 |
+
"description": "Lists available GitHub Copilot Spaces",
|
| 2419 |
+
"parameters": {
|
| 2420 |
+
"type": "object",
|
| 2421 |
+
"properties": {}
|
| 2422 |
+
}
|
| 2423 |
+
}
|
| 2424 |
+
},
|
| 2425 |
+
{
|
| 2426 |
+
"type": "function",
|
| 2427 |
+
"function": {
|
| 2428 |
+
"name": "list_dependabot_alerts",
|
| 2429 |
+
"description": "Lists dependency/security alerts detected by Dependabot",
|
| 2430 |
+
"parameters": {
|
| 2431 |
+
"type": "object",
|
| 2432 |
+
"properties": {
|
| 2433 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2434 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2435 |
+
"state": {"type": "string", "enum": ["auto_dismissed", "dismissed", "fixed", "open"], "description": "Alert state"}
|
| 2436 |
+
},
|
| 2437 |
+
"required": ["owner", "repo"]
|
| 2438 |
+
}
|
| 2439 |
+
}
|
| 2440 |
+
},
|
| 2441 |
+
{
|
| 2442 |
+
"type": "function",
|
| 2443 |
+
"function": {
|
| 2444 |
+
"name": "list_discussion_categories",
|
| 2445 |
+
"description": "Lists categories available for GitHub Discussions",
|
| 2446 |
+
"parameters": {
|
| 2447 |
+
"type": "object",
|
| 2448 |
+
"properties": {
|
| 2449 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2450 |
+
"repo": {"type": "string", "description": "Repository name"}
|
| 2451 |
+
},
|
| 2452 |
+
"required": ["owner", "repo"]
|
| 2453 |
+
}
|
| 2454 |
+
}
|
| 2455 |
+
},
|
| 2456 |
+
{
|
| 2457 |
+
"type": "function",
|
| 2458 |
+
"function": {
|
| 2459 |
+
"name": "list_discussions",
|
| 2460 |
+
"description": "Lists Discussions in a repository",
|
| 2461 |
+
"parameters": {
|
| 2462 |
+
"type": "object",
|
| 2463 |
+
"properties": {
|
| 2464 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2465 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2466 |
+
"per_page": {"type": "integer", "description": "Items per page"}
|
| 2467 |
+
},
|
| 2468 |
+
"required": ["owner", "repo"]
|
| 2469 |
+
}
|
| 2470 |
+
}
|
| 2471 |
+
},
|
| 2472 |
+
{
|
| 2473 |
+
"type": "function",
|
| 2474 |
+
"function": {
|
| 2475 |
+
"name": "list_gists",
|
| 2476 |
+
"description": "Lists Gists available to the authenticated user",
|
| 2477 |
+
"parameters": {
|
| 2478 |
+
"type": "object",
|
| 2479 |
+
"properties": {
|
| 2480 |
+
"per_page": {"type": "integer", "description": "Number of gists, default 10"}
|
| 2481 |
+
}
|
| 2482 |
+
}
|
| 2483 |
+
}
|
| 2484 |
+
},
|
| 2485 |
+
{
|
| 2486 |
+
"type": "function",
|
| 2487 |
+
"function": {
|
| 2488 |
+
"name": "list_global_security_advisories",
|
| 2489 |
+
"description": "Lists security advisories available through GitHub's global advisory database",
|
| 2490 |
+
"parameters": {
|
| 2491 |
+
"type": "object",
|
| 2492 |
+
"properties": {
|
| 2493 |
+
"ecosystem": {"type": "string", "description": "Ecosystem e.g. npm, pip, maven"},
|
| 2494 |
+
"severity": {"type": "string", "enum": ["low", "medium", "high", "critical"], "description": "Severity level"}
|
| 2495 |
+
}
|
| 2496 |
+
}
|
| 2497 |
+
}
|
| 2498 |
+
},
|
| 2499 |
+
{
|
| 2500 |
+
"type": "function",
|
| 2501 |
+
"function": {
|
| 2502 |
+
"name": "list_issue_fields",
|
| 2503 |
+
"description": "Lists available custom fields associated with Issues or issue-management systems",
|
| 2504 |
+
"parameters": {
|
| 2505 |
+
"type": "object",
|
| 2506 |
+
"properties": {
|
| 2507 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2508 |
+
"repo": {"type": "string", "description": "Repository name"}
|
| 2509 |
+
},
|
| 2510 |
+
"required": ["owner", "repo"]
|
| 2511 |
+
}
|
| 2512 |
+
}
|
| 2513 |
+
},
|
| 2514 |
+
{
|
| 2515 |
+
"type": "function",
|
| 2516 |
+
"function": {
|
| 2517 |
+
"name": "list_issue_types",
|
| 2518 |
+
"description": "Lists available Issue types",
|
| 2519 |
+
"parameters": {
|
| 2520 |
+
"type": "object",
|
| 2521 |
+
"properties": {
|
| 2522 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2523 |
+
"repo": {"type": "string", "description": "Repository name"}
|
| 2524 |
+
},
|
| 2525 |
+
"required": ["owner", "repo"]
|
| 2526 |
+
}
|
| 2527 |
+
}
|
| 2528 |
+
},
|
| 2529 |
+
{
|
| 2530 |
+
"type": "function",
|
| 2531 |
+
"function": {
|
| 2532 |
+
"name": "list_issues",
|
| 2533 |
+
"description": "Lists Issues from a repository according to filters such as state or labels",
|
| 2534 |
+
"parameters": {
|
| 2535 |
+
"type": "object",
|
| 2536 |
+
"properties": {
|
| 2537 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2538 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2539 |
+
"state": {"type": "string", "enum": ["open", "closed", "all"], "description": "State filter"},
|
| 2540 |
+
"labels": {"type": "string", "description": "Comma-separated label names"},
|
| 2541 |
+
"per_page": {"type": "integer", "description": "Number of issues"}
|
| 2542 |
+
},
|
| 2543 |
+
"required": ["owner", "repo"]
|
| 2544 |
+
}
|
| 2545 |
+
}
|
| 2546 |
+
},
|
| 2547 |
+
{
|
| 2548 |
+
"type": "function",
|
| 2549 |
+
"function": {
|
| 2550 |
+
"name": "list_label",
|
| 2551 |
+
"description": "Lists labels available in a repository",
|
| 2552 |
+
"parameters": {
|
| 2553 |
+
"type": "object",
|
| 2554 |
+
"properties": {
|
| 2555 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2556 |
+
"repo": {"type": "string", "description": "Repository name"}
|
| 2557 |
+
},
|
| 2558 |
+
"required": ["owner", "repo"]
|
| 2559 |
+
}
|
| 2560 |
+
}
|
| 2561 |
+
},
|
| 2562 |
+
{
|
| 2563 |
+
"type": "function",
|
| 2564 |
+
"function": {
|
| 2565 |
+
"name": "list_notifications",
|
| 2566 |
+
"description": "Lists GitHub notifications for the authenticated user",
|
| 2567 |
+
"parameters": {
|
| 2568 |
+
"type": "object",
|
| 2569 |
+
"properties": {
|
| 2570 |
+
"all": {"type": "boolean", "description": "Show all notifications including read"},
|
| 2571 |
+
"participating": {"type": "boolean", "description": "Only notifications participating in"}
|
| 2572 |
+
}
|
| 2573 |
+
}
|
| 2574 |
+
}
|
| 2575 |
+
},
|
| 2576 |
+
{
|
| 2577 |
+
"type": "function",
|
| 2578 |
+
"function": {
|
| 2579 |
+
"name": "list_org_repository_security_advisories",
|
| 2580 |
+
"description": "Lists security advisories associated with repositories in an organization",
|
| 2581 |
+
"parameters": {
|
| 2582 |
+
"type": "object",
|
| 2583 |
+
"properties": {
|
| 2584 |
+
"org": {"type": "string", "description": "Organization name"}
|
| 2585 |
+
},
|
| 2586 |
+
"required": ["org"]
|
| 2587 |
+
}
|
| 2588 |
+
}
|
| 2589 |
+
},
|
| 2590 |
+
{
|
| 2591 |
+
"type": "function",
|
| 2592 |
+
"function": {
|
| 2593 |
+
"name": "list_pull_requests",
|
| 2594 |
+
"description": "Lists Pull Requests from a repository, including their state and metadata",
|
| 2595 |
+
"parameters": {
|
| 2596 |
+
"type": "object",
|
| 2597 |
+
"properties": {
|
| 2598 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2599 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2600 |
+
"state": {"type": "string", "enum": ["open", "closed", "all"], "description": "PR state"},
|
| 2601 |
+
"per_page": {"type": "integer", "description": "Number of PRs"}
|
| 2602 |
+
},
|
| 2603 |
+
"required": ["owner", "repo"]
|
| 2604 |
+
}
|
| 2605 |
+
}
|
| 2606 |
+
},
|
| 2607 |
+
{
|
| 2608 |
+
"type": "function",
|
| 2609 |
+
"function": {
|
| 2610 |
+
"name": "list_releases",
|
| 2611 |
+
"description": "Lists releases published by a repository",
|
| 2612 |
+
"parameters": {
|
| 2613 |
+
"type": "object",
|
| 2614 |
+
"properties": {
|
| 2615 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2616 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2617 |
+
"per_page": {"type": "integer", "description": "Releases count"}
|
| 2618 |
+
},
|
| 2619 |
+
"required": ["owner", "repo"]
|
| 2620 |
+
}
|
| 2621 |
+
}
|
| 2622 |
+
},
|
| 2623 |
+
{
|
| 2624 |
+
"type": "function",
|
| 2625 |
+
"function": {
|
| 2626 |
+
"name": "list_repository_collaborators",
|
| 2627 |
+
"description": "Lists users who have collaboration/access permissions on a repository",
|
| 2628 |
+
"parameters": {
|
| 2629 |
+
"type": "object",
|
| 2630 |
+
"properties": {
|
| 2631 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2632 |
+
"repo": {"type": "string", "description": "Repository name"}
|
| 2633 |
+
},
|
| 2634 |
+
"required": ["owner", "repo"]
|
| 2635 |
+
}
|
| 2636 |
+
}
|
| 2637 |
+
},
|
| 2638 |
+
{
|
| 2639 |
+
"type": "function",
|
| 2640 |
+
"function": {
|
| 2641 |
+
"name": "list_repository_security_advisories",
|
| 2642 |
+
"description": "Lists security advisories associated with a repository",
|
| 2643 |
+
"parameters": {
|
| 2644 |
+
"type": "object",
|
| 2645 |
+
"properties": {
|
| 2646 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2647 |
+
"repo": {"type": "string", "description": "Repository name"}
|
| 2648 |
+
},
|
| 2649 |
+
"required": ["owner", "repo"]
|
| 2650 |
+
}
|
| 2651 |
+
}
|
| 2652 |
+
},
|
| 2653 |
+
{
|
| 2654 |
+
"type": "function",
|
| 2655 |
+
"function": {
|
| 2656 |
+
"name": "list_secret_scanning_alerts",
|
| 2657 |
+
"description": "Lists secrets detected by GitHub Secret Scanning",
|
| 2658 |
+
"parameters": {
|
| 2659 |
+
"type": "object",
|
| 2660 |
+
"properties": {
|
| 2661 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2662 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2663 |
+
"state": {"type": "string", "enum": ["open", "resolved"], "description": "Secret state"}
|
| 2664 |
+
},
|
| 2665 |
+
"required": ["owner", "repo"]
|
| 2666 |
+
}
|
| 2667 |
+
}
|
| 2668 |
+
},
|
| 2669 |
+
{
|
| 2670 |
+
"type": "function",
|
| 2671 |
+
"function": {
|
| 2672 |
+
"name": "list_starred_repositories",
|
| 2673 |
+
"description": "Lists repositories that the authenticated user has starred",
|
| 2674 |
+
"parameters": {
|
| 2675 |
+
"type": "object",
|
| 2676 |
+
"properties": {
|
| 2677 |
+
"per_page": {"type": "integer", "description": "Number of repos"}
|
| 2678 |
+
}
|
| 2679 |
+
}
|
| 2680 |
+
}
|
| 2681 |
+
},
|
| 2682 |
+
{
|
| 2683 |
+
"type": "function",
|
| 2684 |
+
"function": {
|
| 2685 |
+
"name": "list_tags",
|
| 2686 |
+
"description": "Lists Git tags belonging to a repository",
|
| 2687 |
+
"parameters": {
|
| 2688 |
+
"type": "object",
|
| 2689 |
+
"properties": {
|
| 2690 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2691 |
+
"repo": {"type": "string", "description": "Repository name"}
|
| 2692 |
+
},
|
| 2693 |
+
"required": ["owner", "repo"]
|
| 2694 |
+
}
|
| 2695 |
+
}
|
| 2696 |
+
},
|
| 2697 |
+
{
|
| 2698 |
+
"type": "function",
|
| 2699 |
+
"function": {
|
| 2700 |
+
"name": "manage_notification_subscription",
|
| 2701 |
+
"description": "Changes notification subscription settings for a GitHub notification/thread",
|
| 2702 |
+
"parameters": {
|
| 2703 |
+
"type": "object",
|
| 2704 |
+
"properties": {
|
| 2705 |
+
"thread_id": {"type": "string", "description": "Notification thread ID"},
|
| 2706 |
+
"subscribed": {"type": "boolean", "description": "Whether subscribed"},
|
| 2707 |
+
"ignored": {"type": "boolean", "description": "Whether ignored"}
|
| 2708 |
+
},
|
| 2709 |
+
"required": ["thread_id"]
|
| 2710 |
+
}
|
| 2711 |
+
}
|
| 2712 |
+
},
|
| 2713 |
+
{
|
| 2714 |
+
"type": "function",
|
| 2715 |
+
"function": {
|
| 2716 |
+
"name": "manage_repository_notification_subscription",
|
| 2717 |
+
"description": "Manages notification subscription settings for a repository",
|
| 2718 |
+
"parameters": {
|
| 2719 |
+
"type": "object",
|
| 2720 |
+
"properties": {
|
| 2721 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2722 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2723 |
+
"subscribed": {"type": "boolean", "description": "Whether subscribed"},
|
| 2724 |
+
"ignored": {"type": "boolean", "description": "Whether ignored"}
|
| 2725 |
+
},
|
| 2726 |
+
"required": ["owner", "repo"]
|
| 2727 |
+
}
|
| 2728 |
+
}
|
| 2729 |
+
},
|
| 2730 |
+
{
|
| 2731 |
+
"type": "function",
|
| 2732 |
+
"function": {
|
| 2733 |
+
"name": "mark_all_notifications_read",
|
| 2734 |
+
"description": "Marks all available GitHub notifications as read",
|
| 2735 |
+
"parameters": {
|
| 2736 |
+
"type": "object",
|
| 2737 |
+
"properties": {
|
| 2738 |
+
"last_read_at": {"type": "string", "description": "ISO timestamp"}
|
| 2739 |
+
}
|
| 2740 |
+
}
|
| 2741 |
+
}
|
| 2742 |
+
},
|
| 2743 |
+
{
|
| 2744 |
+
"type": "function",
|
| 2745 |
+
"function": {
|
| 2746 |
+
"name": "merge_pull_request",
|
| 2747 |
+
"description": "Merges a Pull Request into its target branch",
|
| 2748 |
+
"parameters": {
|
| 2749 |
+
"type": "object",
|
| 2750 |
+
"properties": {
|
| 2751 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2752 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2753 |
+
"pull_number": {"type": "integer", "description": "Pull request number"},
|
| 2754 |
+
"commit_title": {"type": "string", "description": "Title for merge commit"},
|
| 2755 |
+
"commit_message": {"type": "string", "description": "Extra merge commit message"},
|
| 2756 |
+
"merge_method": {"type": "string", "enum": ["merge", "squash", "rebase"], "description": "Merge strategy"}
|
| 2757 |
+
},
|
| 2758 |
+
"required": ["owner", "repo", "pull_number"]
|
| 2759 |
+
}
|
| 2760 |
+
}
|
| 2761 |
+
},
|
| 2762 |
+
{
|
| 2763 |
+
"type": "function",
|
| 2764 |
+
"function": {
|
| 2765 |
+
"name": "projects_get",
|
| 2766 |
+
"description": "Gets details about a GitHub Project",
|
| 2767 |
+
"parameters": {
|
| 2768 |
+
"type": "object",
|
| 2769 |
+
"properties": {
|
| 2770 |
+
"project_id": {"type": "string", "description": "Project ID"}
|
| 2771 |
+
},
|
| 2772 |
+
"required": ["project_id"]
|
| 2773 |
+
}
|
| 2774 |
+
}
|
| 2775 |
+
},
|
| 2776 |
+
{
|
| 2777 |
+
"type": "function",
|
| 2778 |
+
"function": {
|
| 2779 |
+
"name": "projects_list",
|
| 2780 |
+
"description": "Lists GitHub Projects available in the relevant account, organization, or repository",
|
| 2781 |
+
"parameters": {
|
| 2782 |
+
"type": "object",
|
| 2783 |
+
"properties": {
|
| 2784 |
+
"owner": {"type": "string", "description": "User or organization login"}
|
| 2785 |
+
},
|
| 2786 |
+
"required": ["owner"]
|
| 2787 |
+
}
|
| 2788 |
+
}
|
| 2789 |
+
},
|
| 2790 |
+
{
|
| 2791 |
+
"type": "function",
|
| 2792 |
+
"function": {
|
| 2793 |
+
"name": "projects_write",
|
| 2794 |
+
"description": "Creates or updates information in a GitHub Project",
|
| 2795 |
+
"parameters": {
|
| 2796 |
+
"type": "object",
|
| 2797 |
+
"properties": {
|
| 2798 |
+
"project_id": {"type": "string", "description": "Optional project ID to update"},
|
| 2799 |
+
"title": {"type": "string", "description": "Project title"},
|
| 2800 |
+
"body": {"type": "string", "description": "Project body"}
|
| 2801 |
+
},
|
| 2802 |
+
"required": ["title"]
|
| 2803 |
+
}
|
| 2804 |
+
}
|
| 2805 |
+
},
|
| 2806 |
+
{
|
| 2807 |
+
"type": "function",
|
| 2808 |
+
"function": {
|
| 2809 |
+
"name": "pull_request_read",
|
| 2810 |
+
"description": "Reads detailed information about a Pull Request",
|
| 2811 |
+
"parameters": {
|
| 2812 |
+
"type": "object",
|
| 2813 |
+
"properties": {
|
| 2814 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2815 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2816 |
+
"pull_number": {"type": "integer", "description": "Pull request number"}
|
| 2817 |
+
},
|
| 2818 |
+
"required": ["owner", "repo", "pull_number"]
|
| 2819 |
+
}
|
| 2820 |
+
}
|
| 2821 |
+
},
|
| 2822 |
+
{
|
| 2823 |
+
"type": "function",
|
| 2824 |
+
"function": {
|
| 2825 |
+
"name": "pull_request_review_write",
|
| 2826 |
+
"description": "Creates or updates a Pull Request review",
|
| 2827 |
+
"parameters": {
|
| 2828 |
+
"type": "object",
|
| 2829 |
+
"properties": {
|
| 2830 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2831 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2832 |
+
"pull_number": {"type": "integer", "description": "Pull request number"},
|
| 2833 |
+
"event": {"type": "string", "enum": ["APPROVE", "REQUEST_CHANGES", "COMMENT"], "description": "Review action"},
|
| 2834 |
+
"body": {"type": "string", "description": "Review comment body"}
|
| 2835 |
+
},
|
| 2836 |
+
"required": ["owner", "repo", "pull_number", "event"]
|
| 2837 |
+
}
|
| 2838 |
+
}
|
| 2839 |
+
},
|
| 2840 |
+
{
|
| 2841 |
+
"type": "function",
|
| 2842 |
+
"function": {
|
| 2843 |
+
"name": "push_files",
|
| 2844 |
+
"description": "Pushes one or more file changes to a GitHub repository atomically",
|
| 2845 |
+
"parameters": {
|
| 2846 |
+
"type": "object",
|
| 2847 |
+
"properties": {
|
| 2848 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2849 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2850 |
+
"branch": {"type": "string", "description": "Branch name"},
|
| 2851 |
+
"message": {"type": "string", "description": "Commit message"},
|
| 2852 |
+
"files": {"type": "string", "description": "JSON array of file objects e.g. [{'path': 'README.md', 'content': 'hello'}]"}
|
| 2853 |
+
},
|
| 2854 |
+
"required": ["owner", "repo", "branch", "message", "files"]
|
| 2855 |
+
}
|
| 2856 |
+
}
|
| 2857 |
+
},
|
| 2858 |
+
{
|
| 2859 |
+
"type": "function",
|
| 2860 |
+
"function": {
|
| 2861 |
+
"name": "remove_sub_issue",
|
| 2862 |
+
"description": "Removes a sub-issue relationship from a parent Issue",
|
| 2863 |
+
"parameters": {
|
| 2864 |
+
"type": "object",
|
| 2865 |
+
"properties": {
|
| 2866 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2867 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2868 |
+
"parent_issue_number": {"type": "integer", "description": "Parent issue number"},
|
| 2869 |
+
"sub_issue_id": {"type": "integer", "description": "Sub-issue ID"}
|
| 2870 |
+
},
|
| 2871 |
+
"required": ["owner", "repo", "parent_issue_number", "sub_issue_id"]
|
| 2872 |
+
}
|
| 2873 |
+
}
|
| 2874 |
+
},
|
| 2875 |
+
{
|
| 2876 |
+
"type": "function",
|
| 2877 |
+
"function": {
|
| 2878 |
+
"name": "reprioritize_sub_issue",
|
| 2879 |
+
"description": "Changes the order/priority of sub-issues within a parent Issue",
|
| 2880 |
+
"parameters": {
|
| 2881 |
+
"type": "object",
|
| 2882 |
+
"properties": {
|
| 2883 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2884 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2885 |
+
"parent_issue_number": {"type": "integer", "description": "Parent issue number"},
|
| 2886 |
+
"sub_issue_id": {"type": "integer", "description": "Sub-issue ID"},
|
| 2887 |
+
"after_id": {"type": "integer", "description": "ID to place after"}
|
| 2888 |
+
},
|
| 2889 |
+
"required": ["owner", "repo", "parent_issue_number", "sub_issue_id"]
|
| 2890 |
+
}
|
| 2891 |
+
}
|
| 2892 |
+
},
|
| 2893 |
+
{
|
| 2894 |
+
"type": "function",
|
| 2895 |
+
"function": {
|
| 2896 |
+
"name": "request_copilot_review",
|
| 2897 |
+
"description": "Requests a GitHub Copilot review of a Pull Request when supported",
|
| 2898 |
+
"parameters": {
|
| 2899 |
+
"type": "object",
|
| 2900 |
+
"properties": {
|
| 2901 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2902 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2903 |
+
"pull_number": {"type": "integer", "description": "Pull request number"}
|
| 2904 |
+
},
|
| 2905 |
+
"required": ["owner", "repo", "pull_number"]
|
| 2906 |
+
}
|
| 2907 |
+
}
|
| 2908 |
+
},
|
| 2909 |
+
{
|
| 2910 |
+
"type": "function",
|
| 2911 |
+
"function": {
|
| 2912 |
+
"name": "request_pull_request_reviewers",
|
| 2913 |
+
"description": "Requests specific users or teams to review a Pull Request",
|
| 2914 |
+
"parameters": {
|
| 2915 |
+
"type": "object",
|
| 2916 |
+
"properties": {
|
| 2917 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 2918 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 2919 |
+
"pull_number": {"type": "integer", "description": "Pull request number"},
|
| 2920 |
+
"reviewers": {"type": "string", "description": "Comma-separated usernames"},
|
| 2921 |
+
"team_reviewers": {"type": "string", "description": "Comma-separated team slugs"}
|
| 2922 |
+
},
|
| 2923 |
+
"required": ["owner", "repo", "pull_number"]
|
| 2924 |
+
}
|
| 2925 |
+
}
|
| 2926 |
+
},
|
| 2927 |
+
{
|
| 2928 |
+
"type": "function",
|
| 2929 |
+
"function": {
|
| 2930 |
+
"name": "resolve_review_thread",
|
| 2931 |
+
"description": "Marks a Pull Request review conversation thread as resolved",
|
| 2932 |
+
"parameters": {
|
| 2933 |
+
"type": "object",
|
| 2934 |
+
"properties": {
|
| 2935 |
+
"thread_id": {"type": "string", "description": "Thread node ID"}
|
| 2936 |
+
},
|
| 2937 |
+
"required": ["thread_id"]
|
| 2938 |
+
}
|
| 2939 |
+
}
|
| 2940 |
+
},
|
| 2941 |
+
{
|
| 2942 |
+
"type": "function",
|
| 2943 |
+
"function": {
|
| 2944 |
+
"name": "search_code",
|
| 2945 |
+
"description": "Searches code across GitHub repositories according to available search scope",
|
| 2946 |
+
"parameters": {
|
| 2947 |
+
"type": "object",
|
| 2948 |
+
"properties": {
|
| 2949 |
+
"query": {"type": "string", "description": "Code search query"}
|
| 2950 |
+
},
|
| 2951 |
+
"required": ["query"]
|
| 2952 |
+
}
|
| 2953 |
+
}
|
| 2954 |
+
},
|
| 2955 |
+
{
|
| 2956 |
+
"type": "function",
|
| 2957 |
+
"function": {
|
| 2958 |
+
"name": "search_commits",
|
| 2959 |
+
"description": "Searches GitHub commit history using search criteria",
|
| 2960 |
+
"parameters": {
|
| 2961 |
+
"type": "object",
|
| 2962 |
+
"properties": {
|
| 2963 |
+
"query": {"type": "string", "description": "Commit search query"}
|
| 2964 |
+
},
|
| 2965 |
+
"required": ["query"]
|
| 2966 |
+
}
|
| 2967 |
+
}
|
| 2968 |
+
},
|
| 2969 |
+
{
|
| 2970 |
+
"type": "function",
|
| 2971 |
+
"function": {
|
| 2972 |
+
"name": "search_issues",
|
| 2973 |
+
"description": "Searches GitHub Issues",
|
| 2974 |
+
"parameters": {
|
| 2975 |
+
"type": "object",
|
| 2976 |
+
"properties": {
|
| 2977 |
+
"query": {"type": "string", "description": "Issue search query"}
|
| 2978 |
+
},
|
| 2979 |
+
"required": ["query"]
|
| 2980 |
+
}
|
| 2981 |
+
}
|
| 2982 |
+
},
|
| 2983 |
+
{
|
| 2984 |
+
"type": "function",
|
| 2985 |
+
"function": {
|
| 2986 |
+
"name": "search_orgs",
|
| 2987 |
+
"description": "Searches for GitHub organizations",
|
| 2988 |
+
"parameters": {
|
| 2989 |
+
"type": "object",
|
| 2990 |
+
"properties": {
|
| 2991 |
+
"query": {"type": "string", "description": "Organization search query"}
|
| 2992 |
+
},
|
| 2993 |
+
"required": ["query"]
|
| 2994 |
+
}
|
| 2995 |
+
}
|
| 2996 |
+
},
|
| 2997 |
+
{
|
| 2998 |
+
"type": "function",
|
| 2999 |
+
"function": {
|
| 3000 |
+
"name": "search_pull_requests",
|
| 3001 |
+
"description": "Searches Pull Requests across the available GitHub scope",
|
| 3002 |
+
"parameters": {
|
| 3003 |
+
"type": "object",
|
| 3004 |
+
"properties": {
|
| 3005 |
+
"query": {"type": "string", "description": "Pull request search query"}
|
| 3006 |
+
},
|
| 3007 |
+
"required": ["query"]
|
| 3008 |
+
}
|
| 3009 |
+
}
|
| 3010 |
+
},
|
| 3011 |
+
{
|
| 3012 |
+
"type": "function",
|
| 3013 |
+
"function": {
|
| 3014 |
+
"name": "search_repositories",
|
| 3015 |
+
"description": "Searches GitHub repositories by name, description, topics, or other criteria",
|
| 3016 |
+
"parameters": {
|
| 3017 |
+
"type": "object",
|
| 3018 |
+
"properties": {
|
| 3019 |
+
"query": {"type": "string", "description": "Repository search query"}
|
| 3020 |
+
},
|
| 3021 |
+
"required": ["query"]
|
| 3022 |
+
}
|
| 3023 |
+
}
|
| 3024 |
+
},
|
| 3025 |
+
{
|
| 3026 |
+
"type": "function",
|
| 3027 |
+
"function": {
|
| 3028 |
+
"name": "search_users",
|
| 3029 |
+
"description": "Searches for GitHub users",
|
| 3030 |
+
"parameters": {
|
| 3031 |
+
"type": "object",
|
| 3032 |
+
"properties": {
|
| 3033 |
+
"query": {"type": "string", "description": "User search query"}
|
| 3034 |
+
},
|
| 3035 |
+
"required": ["query"]
|
| 3036 |
+
}
|
| 3037 |
+
}
|
| 3038 |
+
},
|
| 3039 |
+
{
|
| 3040 |
+
"type": "function",
|
| 3041 |
+
"function": {
|
| 3042 |
+
"name": "set_issue_fields",
|
| 3043 |
+
"description": "Sets custom or structured fields associated with an Issue",
|
| 3044 |
+
"parameters": {
|
| 3045 |
+
"type": "object",
|
| 3046 |
+
"properties": {
|
| 3047 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 3048 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 3049 |
+
"issue_number": {"type": "integer", "description": "Issue number"},
|
| 3050 |
+
"fields": {"type": "string", "description": "JSON object of field key-values"}
|
| 3051 |
+
},
|
| 3052 |
+
"required": ["owner", "repo", "issue_number", "fields"]
|
| 3053 |
+
}
|
| 3054 |
+
}
|
| 3055 |
+
},
|
| 3056 |
+
{
|
| 3057 |
+
"type": "function",
|
| 3058 |
+
"function": {
|
| 3059 |
+
"name": "star_repository",
|
| 3060 |
+
"description": "Stars a GitHub repository using the authenticated account",
|
| 3061 |
+
"parameters": {
|
| 3062 |
+
"type": "object",
|
| 3063 |
+
"properties": {
|
| 3064 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 3065 |
+
"repo": {"type": "string", "description": "Repository name"}
|
| 3066 |
+
},
|
| 3067 |
+
"required": ["owner", "repo"]
|
| 3068 |
+
}
|
| 3069 |
+
}
|
| 3070 |
+
},
|
| 3071 |
+
{
|
| 3072 |
+
"type": "function",
|
| 3073 |
+
"function": {
|
| 3074 |
+
"name": "sub_issue_write",
|
| 3075 |
+
"description": "Creates or modifies sub-issue relationships",
|
| 3076 |
+
"parameters": {
|
| 3077 |
+
"type": "object",
|
| 3078 |
+
"properties": {
|
| 3079 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 3080 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 3081 |
+
"parent_issue_number": {"type": "integer", "description": "Parent issue number"},
|
| 3082 |
+
"sub_issue_id": {"type": "integer", "description": "Sub issue ID"}
|
| 3083 |
+
},
|
| 3084 |
+
"required": ["owner", "repo", "parent_issue_number", "sub_issue_id"]
|
| 3085 |
+
}
|
| 3086 |
+
}
|
| 3087 |
+
},
|
| 3088 |
+
{
|
| 3089 |
+
"type": "function",
|
| 3090 |
+
"function": {
|
| 3091 |
+
"name": "submit_pending_pull_request_review",
|
| 3092 |
+
"description": "Submits a Pull Request review that was previously saved as pending",
|
| 3093 |
+
"parameters": {
|
| 3094 |
+
"type": "object",
|
| 3095 |
+
"properties": {
|
| 3096 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 3097 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 3098 |
+
"pull_number": {"type": "integer", "description": "Pull request number"},
|
| 3099 |
+
"review_id": {"type": "integer", "description": "Review ID"},
|
| 3100 |
+
"event": {"type": "string", "enum": ["APPROVE", "REQUEST_CHANGES", "COMMENT"], "description": "Review action"},
|
| 3101 |
+
"body": {"type": "string", "description": "Review summary"}
|
| 3102 |
+
},
|
| 3103 |
+
"required": ["owner", "repo", "pull_number", "review_id", "event"]
|
| 3104 |
+
}
|
| 3105 |
+
}
|
| 3106 |
+
},
|
| 3107 |
+
{
|
| 3108 |
+
"type": "function",
|
| 3109 |
+
"function": {
|
| 3110 |
+
"name": "ui_get",
|
| 3111 |
+
"description": "Retrieves supported GitHub UI-related information or context exposed through the connector",
|
| 3112 |
+
"parameters": {
|
| 3113 |
+
"type": "object",
|
| 3114 |
+
"properties": {
|
| 3115 |
+
"resource": {"type": "string", "description": "UI resource identifier"}
|
| 3116 |
+
},
|
| 3117 |
+
"required": ["resource"]
|
| 3118 |
+
}
|
| 3119 |
+
}
|
| 3120 |
+
},
|
| 3121 |
+
{
|
| 3122 |
+
"type": "function",
|
| 3123 |
+
"function": {
|
| 3124 |
+
"name": "unresolve_review_thread",
|
| 3125 |
+
"description": "Reopens a previously resolved Pull Request review thread",
|
| 3126 |
+
"parameters": {
|
| 3127 |
+
"type": "object",
|
| 3128 |
+
"properties": {
|
| 3129 |
+
"thread_id": {"type": "string", "description": "Thread node ID"}
|
| 3130 |
+
},
|
| 3131 |
+
"required": ["thread_id"]
|
| 3132 |
+
}
|
| 3133 |
+
}
|
| 3134 |
+
},
|
| 3135 |
+
{
|
| 3136 |
+
"type": "function",
|
| 3137 |
+
"function": {
|
| 3138 |
+
"name": "unstar_repository",
|
| 3139 |
+
"description": "Removes the authenticated user's star from a repository",
|
| 3140 |
+
"parameters": {
|
| 3141 |
+
"type": "object",
|
| 3142 |
+
"properties": {
|
| 3143 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 3144 |
+
"repo": {"type": "string", "description": "Repository name"}
|
| 3145 |
+
},
|
| 3146 |
+
"required": ["owner", "repo"]
|
| 3147 |
+
}
|
| 3148 |
+
}
|
| 3149 |
+
},
|
| 3150 |
+
{
|
| 3151 |
+
"type": "function",
|
| 3152 |
+
"function": {
|
| 3153 |
+
"name": "update_gist",
|
| 3154 |
+
"description": "Updates the content or metadata of an existing GitHub Gist",
|
| 3155 |
+
"parameters": {
|
| 3156 |
+
"type": "object",
|
| 3157 |
+
"properties": {
|
| 3158 |
+
"gist_id": {"type": "string", "description": "Gist ID"},
|
| 3159 |
+
"description": {"type": "string", "description": "New description"},
|
| 3160 |
+
"files": {"type": "string", "description": "JSON object of updated files"}
|
| 3161 |
+
},
|
| 3162 |
+
"required": ["gist_id"]
|
| 3163 |
+
}
|
| 3164 |
+
}
|
| 3165 |
+
},
|
| 3166 |
+
{
|
| 3167 |
+
"type": "function",
|
| 3168 |
+
"function": {
|
| 3169 |
+
"name": "update_issue_assignees",
|
| 3170 |
+
"description": "Changes the users assigned to a GitHub Issue",
|
| 3171 |
+
"parameters": {
|
| 3172 |
+
"type": "object",
|
| 3173 |
+
"properties": {
|
| 3174 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 3175 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 3176 |
+
"issue_number": {"type": "integer", "description": "Issue number"},
|
| 3177 |
+
"assignees": {"type": "string", "description": "Comma-separated usernames"}
|
| 3178 |
+
},
|
| 3179 |
+
"required": ["owner", "repo", "issue_number", "assignees"]
|
| 3180 |
+
}
|
| 3181 |
+
}
|
| 3182 |
+
},
|
| 3183 |
+
{
|
| 3184 |
+
"type": "function",
|
| 3185 |
+
"function": {
|
| 3186 |
+
"name": "update_issue_body",
|
| 3187 |
+
"description": "Updates the description/body of a GitHub Issue",
|
| 3188 |
+
"parameters": {
|
| 3189 |
+
"type": "object",
|
| 3190 |
+
"properties": {
|
| 3191 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 3192 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 3193 |
+
"issue_number": {"type": "integer", "description": "Issue number"},
|
| 3194 |
+
"body": {"type": "string", "description": "New body content"}
|
| 3195 |
+
},
|
| 3196 |
+
"required": ["owner", "repo", "issue_number", "body"]
|
| 3197 |
+
}
|
| 3198 |
+
}
|
| 3199 |
+
},
|
| 3200 |
+
{
|
| 3201 |
+
"type": "function",
|
| 3202 |
+
"function": {
|
| 3203 |
+
"name": "update_issue_labels",
|
| 3204 |
+
"description": "Adds, removes, or changes labels on a GitHub Issue",
|
| 3205 |
+
"parameters": {
|
| 3206 |
+
"type": "object",
|
| 3207 |
+
"properties": {
|
| 3208 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 3209 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 3210 |
+
"issue_number": {"type": "integer", "description": "Issue number"},
|
| 3211 |
+
"labels": {"type": "string", "description": "Comma-separated label names"}
|
| 3212 |
+
},
|
| 3213 |
+
"required": ["owner", "repo", "issue_number", "labels"]
|
| 3214 |
+
}
|
| 3215 |
+
}
|
| 3216 |
+
},
|
| 3217 |
+
{
|
| 3218 |
+
"type": "function",
|
| 3219 |
+
"function": {
|
| 3220 |
+
"name": "update_issue_milestone",
|
| 3221 |
+
"description": "Changes the milestone associated with a GitHub Issue",
|
| 3222 |
+
"parameters": {
|
| 3223 |
+
"type": "object",
|
| 3224 |
+
"properties": {
|
| 3225 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 3226 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 3227 |
+
"issue_number": {"type": "integer", "description": "Issue number"},
|
| 3228 |
+
"milestone": {"type": "integer", "description": "Milestone number"}
|
| 3229 |
+
},
|
| 3230 |
+
"required": ["owner", "repo", "issue_number", "milestone"]
|
| 3231 |
+
}
|
| 3232 |
+
}
|
| 3233 |
+
},
|
| 3234 |
+
{
|
| 3235 |
+
"type": "function",
|
| 3236 |
+
"function": {
|
| 3237 |
+
"name": "update_issue_state",
|
| 3238 |
+
"description": "Changes an Issue's state, such as open or closed",
|
| 3239 |
+
"parameters": {
|
| 3240 |
+
"type": "object",
|
| 3241 |
+
"properties": {
|
| 3242 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 3243 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 3244 |
+
"issue_number": {"type": "integer", "description": "Issue number"},
|
| 3245 |
+
"state": {"type": "string", "enum": ["open", "closed"], "description": "New state"}
|
| 3246 |
+
},
|
| 3247 |
+
"required": ["owner", "repo", "issue_number", "state"]
|
| 3248 |
+
}
|
| 3249 |
+
}
|
| 3250 |
+
},
|
| 3251 |
+
{
|
| 3252 |
+
"type": "function",
|
| 3253 |
+
"function": {
|
| 3254 |
+
"name": "update_issue_title",
|
| 3255 |
+
"description": "Changes the title of a GitHub Issue",
|
| 3256 |
+
"parameters": {
|
| 3257 |
+
"type": "object",
|
| 3258 |
+
"properties": {
|
| 3259 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 3260 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 3261 |
+
"issue_number": {"type": "integer", "description": "Issue number"},
|
| 3262 |
+
"title": {"type": "string", "description": "New title"}
|
| 3263 |
+
},
|
| 3264 |
+
"required": ["owner", "repo", "issue_number", "title"]
|
| 3265 |
+
}
|
| 3266 |
+
}
|
| 3267 |
+
},
|
| 3268 |
+
{
|
| 3269 |
+
"type": "function",
|
| 3270 |
+
"function": {
|
| 3271 |
+
"name": "update_issue_type",
|
| 3272 |
+
"description": "Changes the type/category assigned to a GitHub Issue",
|
| 3273 |
+
"parameters": {
|
| 3274 |
+
"type": "object",
|
| 3275 |
+
"properties": {
|
| 3276 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 3277 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 3278 |
+
"issue_number": {"type": "integer", "description": "Issue number"},
|
| 3279 |
+
"issue_type": {"type": "string", "description": "Issue type"}
|
| 3280 |
+
},
|
| 3281 |
+
"required": ["owner", "repo", "issue_number", "issue_type"]
|
| 3282 |
+
}
|
| 3283 |
+
}
|
| 3284 |
+
},
|
| 3285 |
+
{
|
| 3286 |
+
"type": "function",
|
| 3287 |
+
"function": {
|
| 3288 |
+
"name": "update_pull_request",
|
| 3289 |
+
"description": "Updates general Pull Request information using supported fields",
|
| 3290 |
+
"parameters": {
|
| 3291 |
+
"type": "object",
|
| 3292 |
+
"properties": {
|
| 3293 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 3294 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 3295 |
+
"pull_number": {"type": "integer", "description": "Pull request number"},
|
| 3296 |
+
"title": {"type": "string", "description": "New PR title"},
|
| 3297 |
+
"body": {"type": "string", "description": "New PR body"},
|
| 3298 |
+
"state": {"type": "string", "enum": ["open", "closed"], "description": "New PR state"},
|
| 3299 |
+
"base": {"type": "string", "description": "New base branch"}
|
| 3300 |
+
},
|
| 3301 |
+
"required": ["owner", "repo", "pull_number"]
|
| 3302 |
+
}
|
| 3303 |
+
}
|
| 3304 |
+
},
|
| 3305 |
+
{
|
| 3306 |
+
"type": "function",
|
| 3307 |
+
"function": {
|
| 3308 |
+
"name": "update_pull_request_body",
|
| 3309 |
+
"description": "Changes the description/body of a Pull Request",
|
| 3310 |
+
"parameters": {
|
| 3311 |
+
"type": "object",
|
| 3312 |
+
"properties": {
|
| 3313 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 3314 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 3315 |
+
"pull_number": {"type": "integer", "description": "Pull request number"},
|
| 3316 |
+
"body": {"type": "string", "description": "New PR body"}
|
| 3317 |
+
},
|
| 3318 |
+
"required": ["owner", "repo", "pull_number", "body"]
|
| 3319 |
+
}
|
| 3320 |
+
}
|
| 3321 |
+
},
|
| 3322 |
+
{
|
| 3323 |
+
"type": "function",
|
| 3324 |
+
"function": {
|
| 3325 |
+
"name": "update_pull_request_branch",
|
| 3326 |
+
"description": "Updates the branch-related configuration of a Pull Request",
|
| 3327 |
+
"parameters": {
|
| 3328 |
+
"type": "object",
|
| 3329 |
+
"properties": {
|
| 3330 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 3331 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 3332 |
+
"pull_number": {"type": "integer", "description": "Pull request number"},
|
| 3333 |
+
"expected_head_sha": {"type": "string", "description": "Expected head SHA"}
|
| 3334 |
+
},
|
| 3335 |
+
"required": ["owner", "repo", "pull_number"]
|
| 3336 |
+
}
|
| 3337 |
+
}
|
| 3338 |
+
},
|
| 3339 |
+
{
|
| 3340 |
+
"type": "function",
|
| 3341 |
+
"function": {
|
| 3342 |
+
"name": "update_pull_request_draft_state",
|
| 3343 |
+
"description": "Changes whether a Pull Request is in Draft mode",
|
| 3344 |
+
"parameters": {
|
| 3345 |
+
"type": "object",
|
| 3346 |
+
"properties": {
|
| 3347 |
+
"pull_request_id": {"type": "string", "description": "Pull Request node ID"}
|
| 3348 |
+
},
|
| 3349 |
+
"required": ["pull_request_id"]
|
| 3350 |
+
}
|
| 3351 |
+
}
|
| 3352 |
+
},
|
| 3353 |
+
{
|
| 3354 |
+
"type": "function",
|
| 3355 |
+
"function": {
|
| 3356 |
+
"name": "update_pull_request_state",
|
| 3357 |
+
"description": "Changes the state of a Pull Request, such as opening or closing it",
|
| 3358 |
+
"parameters": {
|
| 3359 |
+
"type": "object",
|
| 3360 |
+
"properties": {
|
| 3361 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 3362 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 3363 |
+
"pull_number": {"type": "integer", "description": "Pull request number"},
|
| 3364 |
+
"state": {"type": "string", "enum": ["open", "closed"], "description": "New state"}
|
| 3365 |
+
},
|
| 3366 |
+
"required": ["owner", "repo", "pull_number", "state"]
|
| 3367 |
+
}
|
| 3368 |
+
}
|
| 3369 |
+
},
|
| 3370 |
+
{
|
| 3371 |
+
"type": "function",
|
| 3372 |
+
"function": {
|
| 3373 |
+
"name": "update_pull_request_title",
|
| 3374 |
+
"description": "Changes the title of a Pull Request",
|
| 3375 |
+
"parameters": {
|
| 3376 |
+
"type": "object",
|
| 3377 |
+
"properties": {
|
| 3378 |
+
"owner": {"type": "string", "description": "Repository owner"},
|
| 3379 |
+
"repo": {"type": "string", "description": "Repository name"},
|
| 3380 |
+
"pull_number": {"type": "integer", "description": "Pull request number"},
|
| 3381 |
+
"title": {"type": "string", "description": "New PR title"}
|
| 3382 |
+
},
|
| 3383 |
+
"required": ["owner", "repo", "pull_number", "title"]
|
| 3384 |
}
|
| 3385 |
}
|
| 3386 |
},
|