Rustchain Events
rustchain_eventsRead a bounded batch of RustChain health, epoch, and miner events. Pass the returned cursor to continue fetching newer events, with optional long-polling via wait_seconds.
Instructions
Read a bounded batch of RustChain health, epoch, and miner events.
This is a cursor-based batch/long-poll MCP tool, not native MCP tool streaming. One call does not emit partial miner results. For progressive consumption, pass the returned next_cursor into another call. A positive wait_seconds waits for a newer event, bounded by RUSTCHAIN_EVENT_LONG_POLL_MAX (30 seconds by default).
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": "rustchain_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum events to return (default 50, clamped to configured max). | |
| after_cursor | No | Return events newer than this generation-qualified cursor. | 0 |
| wait_seconds | No | Seconds to wait when no newer event exists (default 0). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||