Skip to content

strands.vended_tools.sleep.types

Shared types and constants for the sleep tool.

Default upper bound on duration (seconds) accepted by :func:make_sleep.

def sleep_description(max_duration: float) -> str

Defined in: src/strands/vended_tools/sleep/types.py:7

Build the model-facing description with the configured max interpolated.

Description for the default sleep tool (60-second cap).