ExampleMessageChunkToolResponse class

Constructors

ExampleMessageChunkToolResponse({Input<String?>? displayName, Input<String?>? id, required Input<String> response, Input<String?>? tool, Input<ExampleMessageChunkToolResponseToolsetTool?>? toolsetTool})
Creates a new ExampleMessageChunkToolResponse. displayName (Output) id The matching ID of the tool call the response is for. response The tool execution result in JSON object format. tool The name of the tool to execute. toolsetTool A tool that is created from a toolset.
const
ExampleMessageChunkToolResponse.fromMap(Map<String, dynamic> map)
factory

Properties

displayName → Input<String?>?
(Output) Display name of the tool.
final
hashCode → int
The hash code for this object.
no setterinherited
id → Input<String?>?
The matching ID of the tool call the response is for.
final
response → Input<String>
The tool execution result in JSON object format. Use "output" key to specify tool response and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as tool execution result.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tool → Input<String?>?
The name of the tool to execute. Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}
final
toolsetTool → Input<ExampleMessageChunkToolResponseToolsetTool?>?
A tool that is created from a toolset. Structure is documented below.
final

Methods

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

Operators

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