Learn how to configure and use GitHub Tools within a Generator Node, empowering your AI models to interact directly with your GitHub repositories.
GitHub Tools enable AI models inside a Generator Node to perform a wide range of actions on GitHub by giving them access to a curated set of functions. This feature, often referred to as “tool use” or “function calling,” allows you to build powerful AI agents that can automate development workflows, such as creating issues, managing pull requests, searching for code, and more, all based on natural language instructions in your prompt.
Follow these steps to connect your GitHub account and enable specific tools for a Generator Node.
In any Generator Node (e.g., gemini-2.5-pro
), select the Tools tab. You will see a list of available integrations that can be connected.
Click the + Connect button next to the GitHub integration. This will open a configuration modal to add your credentials.
To authenticate with GitHub, you need to provide a Personal Access Token (PAT).
You can create a new PAT from your GitHub account settings: https://github.com/settings/personal-access-tokens. Ensure your token has the necessary permissions (scopes) for the actions you want to perform.
In the “Connect to GitHub” window:
After your token is validated, you’ll be presented with a list of available GitHub tools, grouped by category. For security and control, you must explicitly select which actions the AI model is allowed to perform.
Check the boxes next to the tools you want to enable for this node (e.g., createIssue
, getPullRequest
, createOrUpdateFile
).
Once you’ve selected the desired tools, click Save & Connect at the bottom of the modal. The Generator Node will now show that GitHub is connected, displaying the enabled tools and a Configuration button to make future changes.
The following is a list of tools you can enable for your AI model, categorized as they appear in the configuration screen.
createRepository
forkRepository
getFileContents
listBranches
createIssue
getIssue
listIssues
updateIssue
addIssueComment
getIssueComments
createPullRequest
getPullRequest
updatePullRequest
listPullRequests
getPullRequestComments
getPullRequestFiles
getPullRequestReviews
getPullRequestStatus
createPullRequestReview
addPullRequestReviewComment
mergePullRequest
updatePullRequestBranch
createBranch
createOrUpdateFile
getCommit
listCommits
listCodeScanningAlerts
getCodeScanningAlert
searchCode
searchIssues
searchPullRequests
searchRepositories
searchUsers
Once configured, you can instruct the AI model to use the enabled tools directly in your prompt. The model will understand your request and call the appropriate function with the necessary parameters to complete the task.
Imagine you have enabled the getFileContents
, createPullRequest
, createBranch
and createOrUpdateFile
tools for a node.
When this prompt is run, the Giselle will:
Learn how to configure and use GitHub Tools within a Generator Node, empowering your AI models to interact directly with your GitHub repositories.
GitHub Tools enable AI models inside a Generator Node to perform a wide range of actions on GitHub by giving them access to a curated set of functions. This feature, often referred to as “tool use” or “function calling,” allows you to build powerful AI agents that can automate development workflows, such as creating issues, managing pull requests, searching for code, and more, all based on natural language instructions in your prompt.
Follow these steps to connect your GitHub account and enable specific tools for a Generator Node.
In any Generator Node (e.g., gemini-2.5-pro
), select the Tools tab. You will see a list of available integrations that can be connected.
Click the + Connect button next to the GitHub integration. This will open a configuration modal to add your credentials.
To authenticate with GitHub, you need to provide a Personal Access Token (PAT).
You can create a new PAT from your GitHub account settings: https://github.com/settings/personal-access-tokens. Ensure your token has the necessary permissions (scopes) for the actions you want to perform.
In the “Connect to GitHub” window:
After your token is validated, you’ll be presented with a list of available GitHub tools, grouped by category. For security and control, you must explicitly select which actions the AI model is allowed to perform.
Check the boxes next to the tools you want to enable for this node (e.g., createIssue
, getPullRequest
, createOrUpdateFile
).
Once you’ve selected the desired tools, click Save & Connect at the bottom of the modal. The Generator Node will now show that GitHub is connected, displaying the enabled tools and a Configuration button to make future changes.
The following is a list of tools you can enable for your AI model, categorized as they appear in the configuration screen.
createRepository
forkRepository
getFileContents
listBranches
createIssue
getIssue
listIssues
updateIssue
addIssueComment
getIssueComments
createPullRequest
getPullRequest
updatePullRequest
listPullRequests
getPullRequestComments
getPullRequestFiles
getPullRequestReviews
getPullRequestStatus
createPullRequestReview
addPullRequestReviewComment
mergePullRequest
updatePullRequestBranch
createBranch
createOrUpdateFile
getCommit
listCommits
listCodeScanningAlerts
getCodeScanningAlert
searchCode
searchIssues
searchPullRequests
searchRepositories
searchUsers
Once configured, you can instruct the AI model to use the enabled tools directly in your prompt. The model will understand your request and call the appropriate function with the necessary parameters to complete the task.
Imagine you have enabled the getFileContents
, createPullRequest
, createBranch
and createOrUpdateFile
tools for a node.
When this prompt is run, the Giselle will: