create_label
Add a custom label to a Forgejo repository using an owner, repository name, label name, and hex color. Categorize issues and pull requests for clearer project organization.
Instructions
Create a label. color is a hex string like #ff0000.
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 |
|---|---|---|---|
| name | Yes | ||
| repo | Yes | ||
| color | Yes | ||
| owner | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||