AnthropicMCPToolResult class

Anthropic MCP Tool Result content block

Constructors

AnthropicMCPToolResult.new({required String toolUseId, required bool isError, required List<Map<String, dynamic>> content})
const
AnthropicMCPToolResult.fromJson(Map<String, dynamic> json)
factory

Properties

content List<Map<String, dynamic>>
Content of the result
final
hashCode int
The hash code for this object.
no setterinherited
isError bool
Whether this result represents an error
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toolUseId String
ID of the tool use this result corresponds to
final

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.
override

Operators

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