Files
Adam Holt 60aef5d2e3 Convert to modelcontextprotocol/go-sdk (#1428)
Move from `mark3labs/mcp-go` to `modelcontextprotocol/go-sdk`.

This is mostly focused on updating tool schema and tool handler signatures, along with any associated internal changes related to those changes.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: omgitsads <4619+omgitsads@users.noreply.github.com>
Co-authored-by: LuluBeatson <lulubeatson@github.com>
Co-authored-by: Lulu <59149422+LuluBeatson@users.noreply.github.com>
Co-authored-by: SamMorrowDrums <4811358+SamMorrowDrums@users.noreply.github.com>
Co-authored-by: Sam Morrow <info@sam-morrow.com>
2025-12-01 14:30:59 +01:00

54 lines
1.4 KiB
Plaintext

{
"annotations": {
"readOnlyHint": true,
"title": "List discussions"
},
"description": "List discussions for a repository or organisation.",
"inputSchema": {
"type": "object",
"required": [
"owner"
],
"properties": {
"after": {
"type": "string",
"description": "Cursor for pagination. Use the endCursor from the previous page's PageInfo for GraphQL APIs."
},
"category": {
"type": "string",
"description": "Optional filter by discussion category ID. If provided, only discussions with this category are listed."
},
"direction": {
"type": "string",
"description": "Order direction.",
"enum": [
"ASC",
"DESC"
]
},
"orderBy": {
"type": "string",
"description": "Order discussions by field. If provided, the 'direction' also needs to be provided.",
"enum": [
"CREATED_AT",
"UPDATED_AT"
]
},
"owner": {
"type": "string",
"description": "Repository owner"
},
"perPage": {
"type": "number",
"description": "Results per page for pagination (min 1, max 100)",
"minimum": 1,
"maximum": 100
},
"repo": {
"type": "string",
"description": "Repository name. If not provided, discussions will be queried at the organisation level."
}
}
},
"name": "list_discussions"
}