Watch values for a bounded window
watch_valuesMonitor industrial objects for real-time changes within a set time limit, receiving a summary of all observed changes including count, first, last, min, and max values.
Instructions
Monitor one or more objects for live changes over a bounded duration (max 300s). Creates an i3X subscription internally and cleans it up on exit. Returns per-element summary of all observed changes (count, first, last, min, max).
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": {
"elementIds": "<elementIds>",
"durationSeconds": "<durationSeconds>"
},
"name": "watch_values"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elementIds | Yes | Element IDs to monitor. | |
| durationSeconds | Yes | How long to watch. Capped at 300s. | |
| pollIntervalSeconds | No | Poll interval (default 2s). |