Cancel a relay lease
cancel_relay_leaseCancel a relay lease before it expires - returns the SIP name to the shared pool for other customers. A lease already used by a running call cannot be cancelled this way - it just runs its course. Same data as DELETE /v1/relay/{id} (response schema in /openapi.json).
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": {
"id": "<id>"
},
"name": "cancel_relay_lease"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of the relay lease to cancel, from create_relay_lease or list_relay_leases. Looks like rl_9f3a2b7c4d1e. |