update_api_key
Modify API key settings, including name, IP allowlist, login notifications, and active status.
Instructions
Update API key settings (api_keys/edit): name, IP allowlist, notifications, active flag.
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": {
"id": "<id>",
"name": "<name>",
"login_notify_method": "<login_notify_method>",
"active": "<active>",
"confirm": "<confirm>"
},
"name": "update_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Key ID | |
| ip | No | IP allowlist | |
| name | Yes | Key name | |
| active | Yes | true — key is active | |
| confirm | Yes | Must be true to run the operation. | |
| login_notify_method | Yes | Login notification method | |
| login_notify_address | No |