Factory Reset
factory_resetResets a connected Meshtastic node to factory defaults, optionally erasing identity and keys. Requires explicit confirmation before wiping device configuration.
Instructions
Factory-reset the connected node.
Requires confirm=True, or the user's answer when the client can ask (always, with
MESHTASTIC_MCP_CONFIRM=human). An nRF52 in UF2 mode, with no app running to take this
call, is wiped by nrf52_factory_erase.
Returns {ok, full}.
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": "factory_reset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | `full=True` also wipes device identity/keys, not just config. | |
| port | No | Serial port or `tcp://host[:port]`; omit to auto-select the one likely Meshtastic device. | |
| confirm | No | `True` once the user agreed; omitted, a client that can ask prompts the human. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| full | Yes | identity and keys wiped too |