AnthropicMCPToolUse.fromJson constructor

AnthropicMCPToolUse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory AnthropicMCPToolUse.fromJson(Map<String, dynamic> json) =>
    AnthropicMCPToolUse(
      id: json['id'] as String,
      name: json['name'] as String,
      serverName: json['server_name'] as String,
      input: json['input'] as Map<String, dynamic>,
    );