Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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: 15 additions & 15 deletions pkg/github/__toolsnaps__/get_label.snap
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
{
"annotations": {
"title": "Get a specific label from a repository.",
"readOnlyHint": true
"readOnlyHint": true,
"title": "Get a specific label from a repository."
},
"description": "Get a specific label from a repository.",
"inputSchema": {
"type": "object",
"required": [
"owner",
"repo",
"name"
],
"properties": {
"name": {
"description": "Label name.",
"type": "string"
"type": "string",
"description": "Label name."
},
"owner": {
"description": "Repository owner (username or organization name)",
"type": "string"
"type": "string",
"description": "Repository owner (username or organization name)"
},
"repo": {
"description": "Repository name",
"type": "string"
"type": "string",
"description": "Repository name"
}
},
"required": [
"owner",
"repo",
"name"
],
"type": "object"
}
},
"name": "get_label"
}
47 changes: 23 additions & 24 deletions pkg/github/__toolsnaps__/label_write.snap
Original file line number Diff line number Diff line change
@@ -1,52 +1,51 @@
{
"annotations": {
"title": "Write operations on repository labels.",
"readOnlyHint": false
"title": "Write operations on repository labels."
},
"description": "Perform write operations on repository labels. To set labels on issues, use the 'update_issue' tool.",
"inputSchema": {
"type": "object",
"required": [
"method",
"owner",
"repo",
"name"
],
"properties": {
"color": {
"description": "Label color as 6-character hex code without '#' prefix (e.g., 'f29513'). Required for 'create', optional for 'update'.",
"type": "string"
"type": "string",
"description": "Label color as 6-character hex code without '#' prefix (e.g., 'f29513'). Required for 'create', optional for 'update'."
},
"description": {
"description": "Label description text. Optional for 'create' and 'update'.",
"type": "string"
"type": "string",
"description": "Label description text. Optional for 'create' and 'update'."
},
"method": {
"type": "string",
"description": "Operation to perform: 'create', 'update', or 'delete'",
"enum": [
"create",
"update",
"delete"
],
"type": "string"
]
},
"name": {
"description": "Label name - required for all operations",
"type": "string"
"type": "string",
"description": "Label name - required for all operations"
},
"new_name": {
"description": "New name for the label (used only with 'update' method to rename)",
"type": "string"
"type": "string",
"description": "New name for the label (used only with 'update' method to rename)"
},
"owner": {
"description": "Repository owner (username or organization name)",
"type": "string"
"type": "string",
"description": "Repository owner (username or organization name)"
},
"repo": {
"description": "Repository name",
"type": "string"
"type": "string",
"description": "Repository name"
}
},
"required": [
"method",
"owner",
"repo",
"name"
],
"type": "object"
}
},
"name": "label_write"
}
24 changes: 12 additions & 12 deletions pkg/github/__toolsnaps__/list_label.snap
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"annotations": {
"title": "List labels from a repository.",
"readOnlyHint": true
"readOnlyHint": true,
"title": "List labels from a repository."
},
"description": "List labels from a repository",
"inputSchema": {
"type": "object",
"required": [
"owner",
"repo"
],
"properties": {
"owner": {
"description": "Repository owner (username or organization name) - required for all operations",
"type": "string"
"type": "string",
"description": "Repository owner (username or organization name) - required for all operations"
},
"repo": {
"description": "Repository name - required for all operations",
"type": "string"
"type": "string",
"description": "Repository name - required for all operations"
}
},
"required": [
"owner",
"repo"
],
"type": "object"
}
},
"name": "list_label"
}
Loading
Loading