-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Expand file tree
/
Copy pathlabel_write.snap
More file actions
51 lines (51 loc) · 1.39 KB
/
label_write.snap
File metadata and controls
51 lines (51 loc) · 1.39 KB
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
43
44
45
46
47
48
49
50
51
{
"annotations": {
"title": "Write operations on repository labels."
},
"description": "Perform write operations on repository labels. To set labels on issues, use the 'update_issue' tool.",
"inputSchema": {
"properties": {
"color": {
"description": "Label color as 6-character hex code without '#' prefix (e.g., 'f29513'). Required for 'create', optional for 'update'.",
"type": "string"
},
"description": {
"description": "Label description text. Optional for 'create' and 'update'.",
"type": "string"
},
"method": {
"description": "Operation to perform: 'create', 'update', or 'delete'",
"enum": [
"create",
"update",
"delete"
],
"type": "string"
},
"name": {
"description": "Label name - required for all operations",
"type": "string"
},
"new_name": {
"description": "New name for the label (used only with 'update' method to rename)",
"type": "string"
},
"owner": {
"description": "Repository owner (username or organization name)",
"type": "string"
},
"repo": {
"description": "Repository name",
"type": "string"
}
},
"required": [
"method",
"owner",
"repo",
"name"
],
"type": "object"
},
"name": "label_write"
}