Skip to main content

Module schedule_wakeup

Module schedule_wakeup 

Source
Expand description

schedule_wakeup tool — lets the agent request a timed re-invocation.

The tool writes a WakeupRequest into a shared slot; AgentRuntime::run_loop reads it after each turn completes and decides whether to sleep-then-loop.

Structs§

ScheduleWakeup
Tool that lets the agent schedule its own next invocation.
WakeupRequest
A wakeup request placed by the schedule_wakeup tool during a turn.

Type Aliases§

WakeupSlot
Shared slot where the tool writes a wakeup request.