Add a point to a device
add_pointAdd a named Modbus point to a running simulated device without restarting it or disturbing connected clients. Set its initial value or signal immediately.
Instructions
Add one new named point (a coil, discrete input or register value) to a device that is already running, without restarting it or disturbing connected clients. Use it to extend a template device; to define points when a device is first created, pass them to create_device instead. The point takes its initial value, or starts its signal, immediately. Returns the new point with its current value. Fails if the device does not exist, the name is already used on that device, or the definition is invalid (for example a 32-bit type in a bit table).
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_id": "<device_id>",
"point": "<point>"
},
"name": "add_point"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| point | Yes | Definition of one point: a named value stored at a Modbus address. | |
| device_id | Yes | Id of a running device, as returned by create_device, clone_device or list_devices. |