Event Source Toggle¶
Enable or disable an authored event source by rewriting its .md. A disabled source is skipped by the poll tick (no fetch, no fire) but its definition and cursor are preserved.
MCP name: event_source_toggle
Category: events
Mutates state (retry policy: manual)
Parameters¶
| Name | Type | Required | Description |
|---|---|---|---|
enabled |
bool |
Yes | True to enable polling, False to suspend it |
name |
str |
Yes | The event source name (the .md file stem) |
Details¶
Flip an event source's enabled flag, rewriting its .md in place. A disabled
source is skipped by the poll tick — no fetch, no diff, no fire — while its
definition and cursor state are preserved, so re-enabling resumes from where it
left off. Used by the rate-limit auto-suspend path and for manual pause/resume.