RemoteAgentTool class

Represents a tool that allows the agent to call another remote agent.

Constructors

RemoteAgentTool({AgentCard? agentCard, ApiAuthentication? apiAuthentication, String? description, Map<String, String>? inputVariableMapping, String? name, Map<String, String>? outputVariableMapping, bool? statefulAgent})
RemoteAgentTool.fromJson(Map json_)

Properties

agentCard ↔ AgentCard?
The agent card of the remote agent that this tool invokes.
getter/setter pair
apiAuthentication ↔ ApiAuthentication?
Authentication configuration for calling the remote agent.
getter/setter pair
description ↔ String?
The description of the tool.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
inputVariableMapping ↔ Map<String, String>?
Mapping of input variable names of remote agent to GECX variable names.
getter/setter pair
name ↔ String?
The name of the tool.
getter/setter pair
outputVariableMapping ↔ Map<String, String>?
Mapping of output variable names of remote agent to GECX variable names.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
statefulAgent ↔ bool?
When enabled, the interaction between the CXAS app and the remote agent will share the same context.
getter/setter pair

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