Delete a channel
delete_channelRemove a channel slot from the connected node by specifying its index or name.
Instructions
Remove a channel slot on the connected node, addressed by index or by name. List channels via the meshcore://channels resource.
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": "delete_channel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | channel slot to delete | |
| name | No | channel name to delete (resolved to its slot) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | the channel slot that was cleared | |
| name | No | the deleted channel's name, where known |