mirror of
https://github.com/anthropics/claude-code-action.git
synced 2026-07-27 22:38:30 +08:00
Simplify comment tool instructions in prompt (#1328)
This commit is contained in:
parent
24492741e0
commit
fd1877debc
@ -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.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user