PyGithub
library and a Github access token which can be obtained from here.
Parameter | Type | Default | Description |
---|---|---|---|
access_token | Optional[str] | None | GitHub access token for authentication. If not provided, will use GITHUB_ACCESS_TOKEN environment variable. |
base_url | Optional[str] | None | Optional base URL for GitHub Enterprise installations. |
Function | Description |
---|---|
search_repositories | Searches Github repositories based on a query. |
list_repositories | Lists repositories for a given user or organization. |
get_repository | Gets details about a specific repository. |
list_pull_requests | Lists pull requests for a repository. |
get_pull_request | Gets details about a specific pull request. |
get_pull_request_changes | Gets the file changes in a pull request. |
create_issue | Creates a new issue in a repository. |
include_tools
or exclude_tools
to modify the list of tools the agent has access to. Learn more about selecting tools.