Skip to content

Invalid tool identifier "github/issue_read" used in agent templates (causes diagnostics errors) #4770

@henriquecarmine

Description

@henriquecarmine

When activating the Copilot Chat extension, VS Code reports "Unknown tool 'github/issue_read'" in the Problems panel. This is caused by agent templates referencing the invalid tool id "github/issue_read". Templates should use canonical tool ids ("github-issue" for write-capable issue operations or "githubread" for read-only).

Steps to reproduce:

  1. Install/enable GitHub Copilot Chat (tested with v0.41.1).
  2. Open Problems (Cmd+Shift+M) or Output -> "prompts-diagnostics-provider".
  3. Observe "Unknown tool 'github/issue_read'".

Suggested fix:
Replace all occurrences of "github/issue_read" with "github-issue" (or "githubread" if read-only).

Suggested one-liner:
grep -RIl --binary-files=text "github/issue_read" . | while IFS= read -r f; do /usr/bin/perl -i.bak -0777 -pe 's|github/issue_read|github-issue|g; s|\bgithubread\b|github-issue|g;' "$f"; done

Please fix and publish a release. Attaching local evidence

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions