Create Tag
createTagDefine a reusable monitor tag with a name and color before attaching it to Uptime Kuma monitors; create tags in advance to avoid duplicates and keep monitor organization consistent.
Instructions
Creates a tag with a name and a color. Tags are attached to monitors with the tags argument of createMonitor / updateMonitor, which also creates a tag that does not exist yet, so this is only needed to define a tag ahead of use. Names are not unique: check listTags first to avoid a duplicate. To rename or recolor a tag use updateTag; to remove one, deleteTag.
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": {
"name": "<name>",
"color": "<color>"
},
"name": "createTag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Tag name | |
| color | Yes | Tag color as a hex string (e.g. "#ff0000") or CSS color name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| msg | No | ||
| tag | No |