Press meter keys
pressSimulate front-panel key presses on a Fluke 287/289 meter in sequence and return the display state after each key, which fields changed, and any warnings.
Instructions
Simulate front-panel keys in order (soft keys F1-F4 under the display, the arrows, HOLD, MINMAX, RANGE, INFO, BACKLIGHT, ONOFF) and return the display state after each key, which state fields changed ("changed": [] = nothing visible, ["view"] = a result page or viewer opened or closed, null = cannot tell; autorange range moves are not counted) and a "note" when the effect is invisible or absent. Menus, panels, help pages and the lead-alert warning overlay the reading and are invisible here, and a refused menu choice silently leaves the menu open: after a soft key that changed nothing, ask the user what the screen shows before the next soft key (a blind F4 can open Setup). "warnings": KEY_IGNORED, LEAD_ALERT_POSSIBLE (current function, leads in the wrong jacks), MENU_STATE_UNKNOWN. Key map per dial position: https://github.com/FrostFlops/open289/blob/main/docs/UI.md. held: a long press (RANGE held = back to autorange). ONOFF switches the meter OFF for good (it cannot be switched on remotely, and the adapter goes to sleep with it): it is refused unless allow_off is true; the meter then asks for confirmation (F1 confirms, F4 cancels).
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": {
"keys": "<keys>"
},
"name": "press"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| held | No | long press (HELD_DOWN) for every key | |
| keys | Yes | keys, pressed in order | |
| max_wall | No | time limit for the whole call in seconds (default 120); past it the command is stopped and TIMEOUT is returned | |
| allow_off | No | permit ONOFF, which switches the meter off; only when the user asked for it |