Expand description
LLM-callable tools for the poller subsystem.
Lives outside nexo-core so the dependency graph stays acyclic
(core → poller → plugin-google → core would loop). main.rs
pulls this crate alongside nexo-core and registers the tools
per agent.
Six tools, all read + control on already-declared jobs:
pollers_listlist every job + statepollers_showdetail for one jobpollers_runmanual tick (bypasses schedule + lease)pollers_pauseset paused = 1pollers_resumeset paused = 0pollers_resetwipe cursor / consecutive_errors
Create / delete are intentionally not exposed: a prompt-injection
could plant a webhook_poll job aimed at internal infra. Operators
still own pollers.yaml + agent pollers reload.
Structs§
Functions§
- register_
all - Wire the six generic
pollers_*tools plus every per-kind custom tool exposed by the registeredPollerimpls. Called frommain.rsper agent.