read_events
Retrieve persisted Cursor SDK stream events in ascending sequence order. Specify a relay run ID and optional limit to fetch up to 500 events after a given sequence.
Instructions
按递增序号读取已持久化的 Cursor SDK 流事件。事件数量有上限。
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": {
"relayRunId": "<relayRunId>"
},
"name": "read_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| relayRunId | Yes | ||
| afterSequence | No |