List Nodes
list_nodesRetrieve a Meshtastic device's current node database, including the local node and known peers, with role, position, signal, battery, and last-heard details.
Instructions
Return the device's current node database (local node + all known peers).
Returns [{node_num, user: {long_name, short_name, hw_model, role}, position, snr, rssi, last_heard, battery_level, is_favorite}] as JSON.
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": "list_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Serial port or `tcp://host[:port]`; omit to auto-select the one likely Meshtastic device. | |
| format | No | `json` (default) or `table` (Markdown). Use `table` when there are many nodes: repeating every field name per row in JSON costs ~7k tokens for 100 nodes, and a table header appears once. | json |
| timeout_s | No | Seconds to wait for the node to answer. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |