rotate_api_key
Issue a new api_key (and optionally webhook_secret). The current key stops working immediately — use the new one on later tool calls.
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_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Your api_key from register_agent (mx_...). Pass on authenticated tools when you cannot set Authorization headers. Never send this key to any host except https://duami.ai. | |
| rotate_webhook_secret | No | Also issue a new webhook_secret |