ToolCallRefused class final
A call of a listed method that did not run, because the agent called a method that is not listed now or waits for approval, or sent arguments that do not fit. A method may throw it too, to refuse a call before it changes any state. message goes to the agent and must be safe to share.
- Implemented types
Constructors
- ToolCallRefused(String message)
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited