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>
28 lines
598 B
Plaintext
28 lines
598 B
Plaintext
{
|
|
"annotations": {
|
|
"title": "Dismiss notification"
|
|
},
|
|
"description": "Dismiss a notification by marking it as read or done",
|
|
"inputSchema": {
|
|
"properties": {
|
|
"state": {
|
|
"description": "The new state of the notification (read/done)",
|
|
"enum": [
|
|
"read",
|
|
"done"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"threadID": {
|
|
"description": "The ID of the notification thread",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"threadID",
|
|
"state"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"name": "dismiss_notification"
|
|
} |