Skip to content

Commit 7d6f6a1

Browse files
committed
fix: specify exact issue_read tool name in flock-action prose
The Copilot agent hallucinated `get_issue` instead of using the registered `issue_read` tool with `method: "get"`. Natural language alone was insufficient — explicitly name the tool and parameters so the agent calls the correct MCP function.
1 parent 013a7e4 commit 7d6f6a1

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/flock-action.lock.yml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/flock-action.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@ have this label, skip it entirely.
5252

5353
## Retrieving the Issue
5454

55-
Read the details of issue #${{ github.event.issue.number }} in
56-
${{ github.repository }}. Extract the issue title, body, and labels from the
57-
response.
55+
Use the **github** server's `issue_read` tool with `method: "get"` to retrieve
56+
issue #${{ github.event.issue.number }} in ${{ github.repository }}
57+
(owner: `${{ github.repository_owner }}`, repo: `nsip`).
58+
Extract the issue title, body, and labels from the response.
5859

5960
## Parsing the Issue
6061

0 commit comments

Comments
 (0)