McpServerToolResultContent class

Represents the result of an MCP server tool call.

This is an experimental feature.

Inheritance

Constructors

McpServerToolResultContent({required String callId, List<AIContent>? output, Object? rawRepresentation, AdditionalPropertiesDictionary? additionalProperties})
Creates a new McpServerToolResultContent.

Properties

additionalProperties AdditionalPropertiesDictionary?
Additional properties.
getter/setter pairinherited
callId String
The unique identifier for the corresponding tool call.
final
hashCode int
The hash code for this object.
no setterinherited
output List<AIContent>?
The output content items.
final
rawRepresentation Object?
The underlying implementation-specific representation of this content.
getter/setter pairinherited
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
toString() String
A string representation of this object.
override

Operators

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