Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Migrate discussions toolset to modelcontextprotocol/go-sdk#1448

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletionspkg/github/__toolsnaps__/get_discussion.snap
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
{
"annotations": {
"readOnlyHint": true,
"title": "Get discussion"
},
"description": "Get a specific discussion by ID",
"inputSchema": {
"type": "object",
"required": [
"owner",
"repo",
"discussionNumber"
],
"properties": {
"discussionNumber": {
"type": "number",
"description": "Discussion Number"
},
"owner": {
"type": "string",
"description": "Repository owner"
},
"repo": {
"type": "string",
"description": "Repository name"
}
}
},
"name": "get_discussion"
}
40 changes: 40 additions & 0 deletionspkg/github/__toolsnaps__/get_discussion_comments.snap
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
{
"annotations": {
"readOnlyHint":true,
"title":"Get discussion comments"
},
"description":"Get comments from a discussion",
"inputSchema": {
"type":"object",
"required": [
"owner",
"repo",
"discussionNumber"
],
"properties": {
"after": {
"type":"string",
"description":"Cursor for pagination. Use the endCursor from the previous page's PageInfo for GraphQL APIs."
},
"discussionNumber": {
"type":"number",
"description":"Discussion Number"
},
"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"
}
}
},
"name":"get_discussion_comments"
}
24 changes: 24 additions & 0 deletionspkg/github/__toolsnaps__/list_discussion_categories.snap
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
{
"annotations": {
"readOnlyHint": true,
"title": "List discussion categories"
},
"description": "List discussion categories with their id and name, for a repository or organisation.",
"inputSchema": {
"type": "object",
"required": [
"owner"
],
"properties": {
"owner": {
"type": "string",
"description": "Repository owner"
},
"repo": {
"type": "string",
"description": "Repository name. If not provided, discussion categories will be queried at the organisation level."
}
}
},
"name": "list_discussion_categories"
}
54 changes: 54 additions & 0 deletionspkg/github/__toolsnaps__/list_discussions.snap
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
{
"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"
}
Loading
Loading

[8]ページ先頭

©2009-2025 Movatter.jp