AnthropicMCPToolUse class

Anthropic MCP Tool Use content block

Constructors

AnthropicMCPToolUse.new({required String id, required String name, required String serverName, required Map<String, dynamic> input})
const
AnthropicMCPToolUse.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
Unique identifier for this tool use
final
input Map<String, dynamic>
Input parameters for the tool
final
name String
Name of the tool being used
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverName String
Name of the MCP server providing this tool
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