Replay Inject
replay_injectInject synthetic packets into a running replay session to drive app features on demand, building each packet from a specified kind and arguments for live testing.
Instructions
Inject packets into a running replay session to drive app features on demand.
Builds a packet from kind and args and sends it on the live connection. A geofence
example: 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>",
"kind": "<kind>"
},
"name": "replay_inject"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Fields for `kind`. `waypoint` takes `lat`, `lon`, `name`, `geofence_radius`, `bbox`, `notify_on_enter`, `notify_on_exit`, `notify_favorites_only`, `icon`; `position` takes `lat`, `lon`, `altitude`; `text` takes `body`; `nodeinfo` takes `id`, `long_name`, `short_name`, `hw_model`, `role`; `raw` takes `portnum`, `payload_hex`. | |
| fuzz | No | `True` runs each packet through the session's fuzz mutator first. | |
| kind | Yes | `waypoint`, `position`, `text`, `nodeinfo` or `raw`. | |
| count | No | How many copies to send. | |
| channel | No | Channel name to send on. | LongFast |
| to_node | No | Destination node number; omit to broadcast. | |
| from_node | No | Sender node number; omit for a synthetic injector node. | |
| session_id | Yes | Session id from `replay_start`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||