opencode_events_poll
Poll OpenCode project events within a time window, or select global scope, to collect up to a set maximum for monitoring and automation.
Instructions
Poll project events from OpenCode, or explicitly select global scope. Collects up to maxEvents within the duration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | ||
| directory | No | Project directory to target. Optional; defaults to the server default project. | |
| maxEvents | No | Max events to collect (default 50, max 1000) | |
| durationMs | No | How long to collect in ms (default 3000, max 30000) |