Skip to content

ScheduleWakeupOutput

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  344140900["output_types.ScheduleWakeupOutput"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 344140900
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

Output of the ScheduleWakeup tool.

Source code in src/clawd_code_sdk/models/output_types.py
class ScheduleWakeupOutput(TypedDict):
    """Output of the ScheduleWakeup tool."""

    scheduledFor: float
    """Epoch ms timestamp when the next wakeup will fire"""
    clampedDelaySeconds: float
    """Actual delay used after clamping to runtime bounds"""
    wasClamped: bool
    """True if the requested delaySeconds was outside [60, 3600]"""
    stopped: NotRequired[bool]
    """True when the model ended the loop via `stop: true`"""
    cancelledWakeups: NotRequired[float]
    """How many pending dynamic-loop wakeups stop:true cancelled.

    0 means nothing was pending — a recurring /loop cron is not cancelled by stop:true.
    """

cancelledWakeups instance-attribute

cancelledWakeups: NotRequired[float]

How many pending dynamic-loop wakeups stop:true cancelled.

0 means nothing was pending — a recurring /loop cron is not cancelled by stop:true.

clampedDelaySeconds instance-attribute

clampedDelaySeconds: float

Actual delay used after clamping to runtime bounds

scheduledFor instance-attribute

scheduledFor: float

Epoch ms timestamp when the next wakeup will fire

stopped instance-attribute

stopped: NotRequired[bool]

True when the model ended the loop via stop: true

wasClamped instance-attribute

wasClamped: bool

True if the requested delaySeconds was outside [60, 3600]

:fa-brands-github: Show source on GitHub