create_label
Create custom labels in GitHub repositories to organize issues and pull requests. Specify label name, color, and optional description for better project management.
Instructions
Create a label in a repository.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"owner": "<owner>",
"repo": "<repo>",
"name": "<name>",
"color": "<color>"
},
"name": "create_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner | |
| repo | Yes | Repository name | |
| name | Yes | Label name | |
| color | Yes | Label color hex code without # (e.g. 'ff0000' for red) | |
| description | No | Label description |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |