GitHub API Request
github_requestSend authenticated requests to any GitHub REST API endpoint. Manage repos, issues, pull requests, files, branches, releases, and more.
Instructions
Make an authenticated request to any GitHub REST API v3 endpoint (read or write). Use this for everything: listing/creating/updating repos, issues, pull requests, comments, files (create_or_update via PUT /repos/{owner}/{repo}/contents/{path}), branches, releases, labels, workflows, etc. Full API reference: https://docs.github.com/en/rest. Path must start with '/' and be relative to https://api.github.com (e.g. '/repos/OWNER/REPO/issues'). For GET requests with query params, either append them to path as a query string or pass query. For write requests (POST/PATCH/PUT/DELETE), pass a JSON-serializable object as body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Optional JSON request body, used for POST/PATCH/PUT requests. | |
| path | Yes | API path relative to https://api.github.com, starting with '/'. Example: '/repos/neural-shubh/dark-fleet-detection/issues' | |
| query | No | Optional query string parameters as key/value pairs. | |
| method | Yes | HTTP method to use. |