strands.vended_tools.sleep.types
Shared types and constants for the sleep tool.
DEFAULT_MAX_DURATION
Section titled “DEFAULT_MAX_DURATION”Default upper bound on duration (seconds) accepted by :func:make_sleep.
sleep_description
Section titled “sleep_description”def sleep_description(max_duration: float) -> strDefined in: src/strands/vended_tools/sleep/types.py:7
Build the model-facing description with the configured max interpolated.
SLEEP_DESCRIPTION
Section titled “SLEEP_DESCRIPTION”Description for the default sleep tool (60-second cap).