find_events
Identifies when a robot signal was above, below, equal to, or changed, returning matching time ranges and peak values for threshold events.
Instructions
Find when a signal was above, below or equal to a value, or when it changed. Returns time ranges, with the most extreme value for above and below.
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": {
"source": "<source>",
"signal": "<signal>",
"condition": "<condition>"
},
"name": "find_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Like start. Omit for the end of the source | |
| limit | No | ||
| start | No | Seconds from the start of the source; negative counts back from the end | |
| value | No | What to compare with; not needed for changes | |
| signal | Yes | One signal name or struct field path | |
| source | Yes | 'live', 'latest', or a log path from list_logs | |
| condition | Yes | ||
| enabled_only | No | Only use data from while the robot was enabled | |
| min_duration | No | Ignore events shorter than this many seconds |