Replay Inject Waypoint
replay_inject_waypointInject a geofenced waypoint packet into a Meshtastic replay session to simulate node boundary crossings and test enter/exit notifications.
Instructions
Inject a WAYPOINT_APP packet (portnum 8), geofence included, into a replay session.
Set geofence_radius, bbox or both, then move a node across the boundary with
replay_inject(sid, "position", {"lat": ..., "lon": ...}, from_node=<tracker>). See
docs/replay.md.
Returns {id, queued, connected}, or {error} for an unknown session.
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": {
"session_id": "<session_id>",
"lat": "<lat>",
"lon": "<lon>"
},
"name": "replay_inject_waypoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Waypoint latitude in decimal degrees. | |
| lon | Yes | Waypoint longitude in decimal degrees. | |
| bbox | No | Geofence box `[south, west, north, east]` in decimal degrees. | |
| icon | No | Icon as a Unicode code point; 0 sets none. | |
| name | No | Waypoint name. | |
| count | No | How many copies to send. | |
| channel | No | Channel name to send on. | LongFast |
| from_node | No | Sender node number; omit for a synthetic injector node. | |
| session_id | Yes | Session id from `replay_start`. | |
| description | No | Waypoint description. | |
| notify_on_exit | No | Notify when a node leaves the geofence. | |
| geofence_radius | No | Geofence circle radius in meters; 0 for none. | |
| notify_on_enter | No | Notify when a node enters the geofence. | |
| notify_favorites_only | No | Notify only for favorite nodes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||