apikey_add
Add a new API key to Uptime Kuma with a required name and optional active status or ISO expiry date, enabling controlled access for monitoring integrations.
Instructions
Add a new API key
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>"
},
"name": "apikey_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | API key name | |
| active | No | Whether key is active | |
| expires | No | Expiry date (ISO format) |