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>
45 lines
1.3 KiB
Plaintext
45 lines
1.3 KiB
Plaintext
{
|
|
"annotations": {
|
|
"readOnlyHint": true,
|
|
"title": "List projects"
|
|
},
|
|
"description": "List Projects for a user or organization",
|
|
"inputSchema": {
|
|
"properties": {
|
|
"after": {
|
|
"description": "Forward pagination cursor from previous pageInfo.nextCursor.",
|
|
"type": "string"
|
|
},
|
|
"before": {
|
|
"description": "Backward pagination cursor from previous pageInfo.prevCursor (rare).",
|
|
"type": "string"
|
|
},
|
|
"owner": {
|
|
"description": "If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive.",
|
|
"type": "string"
|
|
},
|
|
"owner_type": {
|
|
"description": "Owner type",
|
|
"enum": [
|
|
"user",
|
|
"org"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"per_page": {
|
|
"description": "Results per page (max 50)",
|
|
"type": "number"
|
|
},
|
|
"query": {
|
|
"description": "Filter projects by title text and open/closed state; permitted qualifiers: is:open, is:closed; examples: \"roadmap is:open\", \"is:open feature planning\".",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"owner_type",
|
|
"owner"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"name": "list_projects"
|
|
} |