Rotate a PBX connection key
rotate_pbx_keyRotate a named PBX key without changing its logical id. Returns the new password once. Previous passwords keep their original grace deadlines, up to 24 hours; grace_seconds zero immediately invalidates all previous passwords.
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": {
"agent_id": "<agent_id>",
"key_id": "<key_id>"
},
"name": "rotate_pbx_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_id | Yes | ||
| agent_id | Yes | ||
| grace_seconds | No |