AgentDelegationResult class base

Output schema for a generated delegation tool.

Constructors

AgentDelegationResult({required String response, List<AgentDelegationArtifact>? artifacts, String? taskId, String? status, String? name})
AgentDelegationResult.fromJson(Map<String, dynamic> json)
Creates a AgentDelegationResult from a JSON map.
factory

Properties

artifacts ↔ List<AgentDelegationArtifact>?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
name ↔ String?
getter/setter pair
response ↔ String
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status ↔ String?
getter/setter pair
taskId ↔ String?
getter/setter pair

Methods

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

Operators

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

Constants

$schema → const SchemanticType<AgentDelegationResult>
The JSON schema and type descriptor for AgentDelegationResult.