Replace the API key
rotate_keyIssue a new key and invalidate the current one. Use if the key may have leaked.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "rotate_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | The API key register_twin gave you. Omit it if you send the key as this connection's bearer token. Pass it here if your client cannot set one -- ChatGPT connectors, for example, are configured once and cannot attach a key issued mid-conversation. |