Skip to content

ScheduleWakeupInput

Base classes

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

⋔ Inheritance diagram

graph TD
  2004598747["input_types.ScheduleWakeupInput"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 2004598747
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

Input for the ScheduleWakeup tool.

Source code in src/clawd_code_sdk/models/input_types.py
@_extra_allow
class ScheduleWakeupInput(TypedDict):
    """Input for the ScheduleWakeup tool."""

    delaySeconds: NotRequired[float]
    """Seconds from now to wake up.

    Clamped to [60, 3600] by the runtime. Required unless `stop` is true.
    """
    reason: NotRequired[str]
    """One short sentence explaining the chosen delay.

    Goes to telemetry and is shown to the user. Be specific. Required unless `stop` is true.
    """
    prompt: NotRequired[str]
    """The /loop input to fire on wake-up.

    Pass the same /loop input verbatim each turn so the next firing re-enters the skill and
    continues the loop. For autonomous /loop (no user prompt), pass the literal sentinel
    `<<autonomous-loop-dynamic>>` instead (the dynamic-pacing variant, not the CronCreate-mode
    `<<autonomous-loop>>`). Required unless `stop` is true.
    """
    stop: NotRequired[bool]
    """Set to true to end the dynamic loop immediately instead of scheduling another wakeup.

    When true, all other fields are ignored and no further wakeups fire.
    """
    noop: NotRequired[bool]
    """true = nothing changed (you checked and there is nothing to report).

    false = something happened worth keeping (edited a file, posted a message, advanced state,
    surfaced a finding). Consecutive noop:true ticks are collapsed in the user's terminal view and
    tracked as a streak. Required unless `stop` is true.
    """

delaySeconds instance-attribute

delaySeconds: NotRequired[float]

Seconds from now to wake up.

Clamped to [60, 3600] by the runtime. Required unless stop is true.

noop instance-attribute

noop: NotRequired[bool]

true = nothing changed (you checked and there is nothing to report).

false = something happened worth keeping (edited a file, posted a message, advanced state, surfaced a finding). Consecutive noop:true ticks are collapsed in the user's terminal view and tracked as a streak. Required unless stop is true.

prompt instance-attribute

prompt: NotRequired[str]

The /loop input to fire on wake-up.

Pass the same /loop input verbatim each turn so the next firing re-enters the skill and continues the loop. For autonomous /loop (no user prompt), pass the literal sentinel <<autonomous-loop-dynamic>> instead (the dynamic-pacing variant, not the CronCreate-mode <<autonomous-loop>>). Required unless stop is true.

reason instance-attribute

reason: NotRequired[str]

One short sentence explaining the chosen delay.

Goes to telemetry and is shown to the user. Be specific. Required unless stop is true.

stop instance-attribute

stop: NotRequired[bool]

Set to true to end the dynamic loop immediately instead of scheduling another wakeup.

When true, all other fields are ignored and no further wakeups fire.

:fa-brands-github: Show source on GitHub