rotate_token
Revoke all tokens for a channel-role pair and issue a fresh one when a token is leaked or lost; the old token stops working immediately.
Instructions
ADMIN ONLY (HTTP transport): revoke all tokens of one (channel, role) pair and issue a fresh token. Use when a token leaked or was lost. The old token stops working immediately.
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": {
"channel": "<channel>",
"role": "<role>"
},
"name": "rotate_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| channel | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||