MultiAgentCallItem class
A multi-agent action call, as an input item.
This belongs to the beta multi-agent protocol
(OpenAI-Beta: responses_multi_agent=v1). Mirrors the
BetaMultiAgentCallItemParam schema.
Constructors
- MultiAgentCallItem({String? id, AgentTag? agent, required String callId, required MultiAgentAction action, required String arguments})
-
Creates a MultiAgentCallItem.
const
-
MultiAgentCallItem.fromJson(Map<
String, dynamic> json) -
Creates a MultiAgentCallItem from JSON.
factory
Properties
- action → MultiAgentAction
-
The multi-agent action that was executed.
final
- agent → AgentTag?
-
The agent that produced this item.
final
- arguments → String
-
The action arguments as a JSON string.
final
- callId → String
-
The unique ID linking this call to its output.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String?
-
The unique ID of this multi-agent call.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts to JSON.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override