Skip to content

Commit b2fa417

Browse files
Fix tool name references in issue-triage workflow prompt (#10502)
The Agentic Triage workflow ([run 24915251147](https://github.com/microsoft/typespec/actions/runs/24915251147)) produced no safe outputs because the prompt referenced non-existent tool names. The prompt instructed the agent to use `get_issue` and `get_issue_comments`, but the actual MCP GitHub tools are: | Prompt referenced | Actual tool | |---|---| | `get_issue` | `issue_read` (method: `get`) | | `get_issue_comments` | `issue_read` (method: `get_comments`) | - Updated step 1 and step 2 in `.github/workflows/issue-triage.md` to reference `issue_read` with the correct method parameters --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>
1 parent f2692b3 commit b2fa417

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/issue-triage.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ Only use labels defined in that file.
5858

5959
## Instructions
6060

61-
1. Retrieve the issue content using the `get_issue` tool. If the issue is obviously spam, generated by a bot, or not an actual issue to be worked on, then add an issue comment with a one-sentence analysis and exit the workflow.
61+
1. Retrieve the issue content using the `issue_read` tool (method: `get`). If the issue is obviously spam, generated by a bot, or not an actual issue to be worked on, then add an issue comment with a one-sentence analysis and exit the workflow.
6262

6363
2. Gather additional context about the issue:
64-
- Fetch any comments on the issue using the `get_issue_comments` tool
64+
- Fetch any comments on the issue using the `issue_read` tool (method: `get_comments`)
6565

6666
3. **Duplicate detection**: Search for existing issues that may cover the same problem.
6767
- Extract 2-3 distinct keyword queries from the issue title and body (e.g., key error messages, feature names, affected components).

0 commit comments

Comments
 (0)