Skip to content

Commit 4071abe

Browse files
authored
[EngSys] Agentic Triage tool parameter fix (Azure#57814)
The focus of these changes is to tweak instructions to ensure that the required parameter for the MCP tools used by the triage process explicitly detail the parameters that are expected. This is to ensure that the triage process is more reliable, as we've seen some cases where parameters were not being included, leading to missed steps.
1 parent 800a782 commit 4071abe

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/issue-triage.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,9 @@ Note: The gh-aw runtime provides additional baseline defenses including the XPIA
215215
- If triggered by an `issues.opened` event: the issue number is `${{ github.event.issue.number }}`
216216
- If triggered by `workflow_dispatch`: the issue number is `${{ github.event.inputs.issue_number }}`
217217

218-
Note the issue number — you must include it as the `issue_number` parameter in every safe-output tool call (add-labels, remove-labels, add-comment, assign-to-user, close-issue)
218+
Note the issue number — you must include it in every safe-output tool call:
219+
- For `add-labels`, `remove-labels`, and `add-comment`: pass it as `item_number`
220+
- For `assign-to-user` and `close-issue`: pass it as `issue_number`
219221

220222
Retrieve the issue using the `get_issue` tool
221223

0 commit comments

Comments
 (0)