Simplify comment tool instructions in prompt (#1328)

This commit is contained in:
Ashwin Bhat 2026-05-19 14:50:18 -07:00 committed by GitHub
parent 24492741e0
commit fd1877debc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -698,15 +698,7 @@ ${sanitizeContent(eventData.commentBody)}
</trigger_comment>` </trigger_comment>`
: "" : ""
} }
${`<comment_tool_info> IMPORTANT: Use the mcp__github_comment__update_claude_comment tool to update your comment (load it with ToolSearch first).
IMPORTANT: You have been provided with the mcp__github_comment__update_claude_comment tool to update your comment. This tool automatically handles both issue and PR comments.
Tool usage example for mcp__github_comment__update_claude_comment:
{
"body": "Your comment text here"
}
Only the body parameter is required - the tool automatically knows which comment to update.
</comment_tool_info>`}
Your task is to analyze the context, understand the request, and provide helpful responses and/or implement code changes as needed. Your task is to analyze the context, understand the request, and provide helpful responses and/or implement code changes as needed.