periodic_start
Starts a named, time-bounded periodic CAN TX task on an open session with a required duration (max 300s), so repeated frames transmit at a fixed interval and auto-stop. Use periodic_stop to end it early.
Instructions
Start a named, time-bounded periodic TX task on an open session.
duration_s is required (max 300s); the task auto-stops, or stop early with
periodic_stop. Adapters with hardware periodic TX use it; while that path
is active, send_frame may fail until periodic_stop. For one-shot TX use
send_frame; for scripted sequences use run_scenario. Longer bench jobs
belong in a local long-running process, not unbounded MCP TX.
Returns JSON Result.
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": {
"device": "<device>",
"name": "<name>",
"arbitration_id": "<arbitration_id>",
"data": "<data>",
"period_s": "<period_s>",
"duration_s": "<duration_s>"
},
"name": "periodic_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Payload as hex bytes, e.g. "01 02 03" | |
| name | Yes | Task name used later with periodic_stop / periodic_list | |
| device | Yes | Device alias from config / list_devices | |
| period_s | Yes | Interval between frames in seconds (> 0) | |
| duration_s | Yes | Required run time in seconds before auto-stop; hard cap 300 | |
| is_extended | No | True for 29-bit extended ID; default false | |
| arbitration_id | Yes | CAN arbitration ID (integer, not hex string) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |