ToolResult constructor

const ToolResult({
  1. required String toolName,
  2. required bool success,
  3. Map<String, ToolValue>? result,
  4. String? error,
  5. String? callId,
})

Implementation

const ToolResult({
  required this.toolName,
  required this.success,
  this.result,
  this.error,
  this.callId,
});