a26079a4b1
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
Build and Test Go Project / build (macos-latest) (push) Has been cancelled
Build and Test Go Project / build (ubuntu-latest) (push) Has been cancelled
Build and Test Go Project / build (windows-latest) (push) Has been cancelled
Tools that return user generated content should have open world hints, to allow clients to inform users that the content may be untrusted and prompt them to approve the request before executing it.
51 lines
1.4 KiB
Plaintext
51 lines
1.4 KiB
Plaintext
{
|
|
"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": {
|
|
"type": "object",
|
|
"properties": {
|
|
"color": {
|
|
"type": "string",
|
|
"description": "Label color as 6-character hex code without '#' prefix (e.g., 'f29513'). Required for 'create', optional for 'update'."
|
|
},
|
|
"description": {
|
|
"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"
|
|
]
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Label name - required for all operations"
|
|
},
|
|
"new_name": {
|
|
"type": "string",
|
|
"description": "New name for the label (used only with 'update' method to rename)"
|
|
},
|
|
"owner": {
|
|
"type": "string",
|
|
"description": "Repository owner (username or organization name)"
|
|
},
|
|
"repo": {
|
|
"type": "string",
|
|
"description": "Repository name"
|
|
}
|
|
},
|
|
"required": [
|
|
"method",
|
|
"owner",
|
|
"repo",
|
|
"name"
|
|
]
|
|
},
|
|
"name": "label_write"
|
|
} |