Skip to content

gh aw init is adding a add_issue_comment tool that doesn't exist #17261

Closed

Description

@tspascoal

Running gh aw new and selecting the following options interactively

What should we call this workflow? -> repro-add_issue_comment

(Copilot as the AI engine)

Which tools should the AI have access to? -> github - GitHub API tools (issues, PRs, comments)

What outputs should the AI be able to create? -> create-issue - Create GitHub issues

What network access does the workflow need? -> defaults - Basic infrastructure only

Describe what this workflow should do: -> read the issue and do something

It immediately fails with the error

.github/workflows/repro-add_issue_comment.md:1:1: error: Unknown GitHub tool(s): add_issue_comment

Valid GitHub tools include: add_reaction and create_code_scanning_alert, and create_discussion, and create_gist, and create_issue, and create_issue_comment, and create_label, and create_pull_request, and download_workflow_run_artifact, and get_code_scanning_alert

See all tools: https://github.com/github/gh-aw/blob/main/pkg/workflow/data/github_tool_to_toolset.json
: Unknown GitHub tool(s): add_issue_comment

Valid GitHub tools include: add_reaction and create_code_scanning_alert, and create_discussion, and create_gist, and create_issue, and create_issue_comment, and create_label, and create_pull_request, and download_workflow_run_artifact, and get_code_scanning_alert

See all tools: https://github.com/github/gh-aw/blob/main/pkg/workflow/data/github_tool_to_toolset.json
✗ Compilation failed: compilation failed
✗ failed to compile workflow: compilation failed
See all tools: https://github.com/github/gh-aw/blob/main/pkg/workflow/data/github_tool_to_toolset.json
: Unknown GitHub tool(s): add_issue_comment

I believe the correct tool is create_issue_comment

Activity

  1. locked and limited conversation to collaborators on Feb 20, 2026
  2. unlocked this conversation on Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions