Annotation class

Tool annotations

Constructors

Annotation({bool? readOnly, bool? untrustedContent, bool? consequential, bool? debugging, bool? autosubmit})
Annotation.fromJson(Map<String, dynamic> json)
factory

Properties

autosubmit → bool?
If the declarative tool was declared with the autosubmit attribute.
final
consequential → bool?
A hint indicating that executing the tool will result in consequential actions, ex: booking a flight, transferring money.
final
debugging → bool?
If true, indicates that the tool is intended for debugging and developer tooling rather than end-user interactions.
final
hashCode → int
The hash code for this object.
no setterinherited
readOnly → bool?
A hint indicating that the tool does not modify any state.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
untrustedContent → bool?
A hint indicating that the tool output may contain untrusted content, ex: UGC, 3rd party data.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited