Skip to main content

Attributes

Custom tools support comprehensive configuration through the @tool decorator:

Example Usage

requires_confirmation=True is designed for interactive environments where a user can respond to confirmation prompts. When running scripts non-interactively, remove this attribute or set it to False to avoid blocking.