Available on crate features
agents and codeact only.Expand description
Error-message helpers for the strings raised into scripts and fed back to the model.
The framework is language-agnostic, so these are just message strings. When
a tool fails or is denied, the driver raises an error into the script via
ResumeWith::Raise; the runtime represents it
however its language does (a Python exception, a JS throw, etc.).
Functionsยง
- denied_
message - Message raised when a human denies a confirmation-gated tool call.
- tool_
error_ message - Message raised into the script when a tool fails.
- unknown_
tool_ message - Message raised when the script calls a tool that is not registered.