gadgets_read_events
Read buffered device events, such as button presses, in order. Start with a null cursor, continue with next_cursor, and reset to null after history_lost or cursor_reset.
Instructions
Read buffered device events (for example button presses) in order. Start with a null cursor, then pass next_cursor. On history_lost or cursor_reset, read again with a null cursor.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gadgets_read_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| cursor | No | ||
| device_id | No |