Set Channel Url
set_channel_urlReplace a device's channel set by importing the channels encoded in a Meshtastic channel URL; applying the same URL again leaves identical channel state.
Instructions
Import channels from a Meshtastic channel URL.
Replaces the device's channel set with the channels encoded in url. Idempotent:
applying the same URL twice leaves identical channel state.
Returns {ok, channels_imported}.
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": {
"url": "<url>"
},
"name": "set_channel_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | A Meshtastic channel URL, such as `get_channel_url` returns. | |
| port | No | Serial port or `tcp://host[:port]`; omit to auto-select the one likely Meshtastic device. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| channels_imported | Yes | channels not DISABLED after the import |