docs/tools/manage_issue
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

ParameterTypeRequiredDescription
repostringyesGitHub repo in 'owner/repo' format.
actionstringyesOne of 'create', 'update', 'close', 'label'.
issue_numberintegernoRequired for update, close, and label actions.
titlestringnoIssue title. Required for 'create'.
bodystringnoIssue body (markdown).
labelsarraynoArray of label strings to apply.
confirmedbooleannoMust 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.

Explore other AgenticStore MCP tools