Create label
create_labelCreate a label in a Forgejo or Gitea repository by specifying the owner, repo, label name, and hex color. Add an optional description for context.
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 |
|---|---|---|---|
| name | Yes | ||
| repo | Yes | Repository name | |
| color | Yes | Hex color, e.g. #00aabb | |
| owner | Yes | Repository owner (user or organization) | |
| description | No |