forked from github/github-mcp-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcreate_discussion.snap
More file actions
42 lines (42 loc) · 997 Bytes
/
create_discussion.snap
File metadata and controls
42 lines (42 loc) · 997 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"annotations": {
"title": "Create discussion"
},
"description": "Create a new discussion in a repository.",
"inputSchema": {
"type": "object",
"properties": {
"body": {
"type": "string",
"description": "Discussion body (Markdown)"
},
"category_id": {
"type": "string",
"description": "Discussion category node ID. If provided, this is used directly."
},
"category_name": {
"type": "string",
"description": "Discussion category name. If provided, it will be resolved to a category ID."
},
"owner": {
"type": "string",
"description": "Repository owner"
},
"repo": {
"type": "string",
"description": "Repository name"
},
"title": {
"type": "string",
"description": "Discussion title"
}
},
"required": [
"owner",
"repo",
"title",
"body"
]
},
"name": "create_discussion"
}