AgenticCode — GitHub Integration
Manage GitHub Issues
CLI Tool Name: manage_issue
Creates, updates, closes, or triages issues in a GitHub repository. Features a built-in two-step verification where the model previews the changes with confirmed=false before executing them. Requires a GitHub Personal Access Token (PAT).
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| repo | string | yes | GitHub repo in 'owner/repo' format. |
| action | string | yes | One of 'create', 'update', 'close', 'label'. |
| issue_number | integer | no | Required for update, close, and label actions. |
| title | string | no | Issue title. Required for 'create'. |
| body | string | no | Issue body (markdown). |
| labels | array | no | Array of label strings to apply. |
| confirmed | boolean | no | Must be true to execute. When false (default), returns preview. |
Example output
json
{
"status": "success",
"action": "create",
"issue_url": "https://github.com/myorg/myrepo/issues/42",
"issue_number": 42
}How to use it
You can prompt your assistant directly to manage issues while working on code:
example prompt
Create a bug report issue in 'myorg/myrepo' titled 'Login button alignment issue' with labels 'bug' and 'ui'.
[note]
GitHub Token required. Configure your token via the GUI Hub or by setting the
GITHUB_TOKEN environment variable in your AI client. Note that it needs repository write permissions.