Replace an app key
gate_rotate_app_keyReplace one app's key and keep its rules, limits, expiry and call count. The old key stops working at once (no overlap) and the new key is shown once. Use it when a key may have leaked; to remove the app entirely use gate_revoke_app.
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": {
"project_id": "<project_id>",
"admin_key": "<admin_key>",
"app": "<app>"
},
"name": "gate_rotate_app_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | The app id (app_...) from gate_list_apps | |
| admin_key | Yes | The project admin key (ga_...). Read it from the .env; never print it. | |
| project_id | Yes | The project id from gate_create_project, e.g. p1a2b3... |