87a1110c15
Sort all JSON object keys alphabetically at every level in toolsnaps by unmarshaling and remarshaling. This leverages Go's built-in behavior where json.Marshal automatically sorts map keys alphabetically, ensuring consistent field ordering and eliminating noop churn in diffs. Co-authored-by: SamMorrowDrums <4811358+SamMorrowDrums@users.noreply.github.com>
34 lines
900 B
Plaintext
34 lines
900 B
Plaintext
{
|
|
"annotations": {
|
|
"title": "Add comment to issue"
|
|
},
|
|
"description": "Add a comment to a specific issue in a GitHub repository. Use this tool to add comments to pull requests as well (in this case pass pull request number as issue_number), but only if user is not asking specifically to add review comments.",
|
|
"inputSchema": {
|
|
"properties": {
|
|
"body": {
|
|
"description": "Comment content",
|
|
"type": "string"
|
|
},
|
|
"issue_number": {
|
|
"description": "Issue number to comment on",
|
|
"type": "number"
|
|
},
|
|
"owner": {
|
|
"description": "Repository owner",
|
|
"type": "string"
|
|
},
|
|
"repo": {
|
|
"description": "Repository name",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"owner",
|
|
"repo",
|
|
"issue_number",
|
|
"body"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"name": "add_issue_comment"
|
|
} |