Example
The following agent will use thesleep tool to pause execution for a given number of seconds.
cookbook/tools/sleep_tools.py
Toolkit Params
| Parameter | Type | Default | Description |
|---|---|---|---|
enable_sleep | bool | True | Enables sleep functionality |
all | bool | False | Enables all functionality when set to True |
Toolkit Functions
| Function | Description |
|---|---|
sleep | Pauses execution for a specified number of seconds |