Back to Genai Toolbox

wait

docs/en/integrations/utility/tools/wait.md

1.1.01.1 KB
Original Source

About

A wait tool pauses execution for a specified duration. This can be useful in workflows where a delay is needed between steps.

wait takes one input parameter duration which is a string representing the time to wait (e.g., "10s", "2m", "1h").

{{< notice info >}} This tool is intended for developer assistant workflows with human-in-the-loop and shouldn't be used for production agents. {{< /notice >}}

Example

yaml
kind: tool
name: wait_for_tool
type: wait
description: Use this tool to pause execution for a specified duration.
timeout: 30s

Reference

fieldtyperequireddescription
typestringtrueMust be "wait".
descriptionstringtrueDescription of the tool that is passed to the LLM.
timeoutstringtrueThe default duration the tool can wait for.