Update key
update_keyRename a key, change the tags of a key you created, or lower its monthly limit. Keys can't raise limits or change their own tags.
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": {
"key_id": "<key_id>"
},
"name": "update_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | key=value tags copied onto every run made with the key, e.g. {"project": "ai-influencers", "slot": "D"}. A child key keeps its parent's tags. | |
| label | No | Name for the key, e.g. aiinf-slot-D (1-60 characters). | |
| key_id | Yes | Key id from list_keys or create_key. | |
| monthly_limit_usd | No | Monthly spending limit for the key in US dollars. A key you create can't have a higher limit than yours. |