Close a channel and delete its messages
channel_closeCloses an encrypted agent handoff channel, deleting both keys and all stored messages; the other side's next fetch reports not_found_or_closed.
Instructions
Either side can close. Deletes the channel, both keys, and every stored message immediately. The other side's next fetch reports not_found_or_closed.
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": {
"key": "<key>"
},
"name": "channel_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | This side's channel key. |