AgentToolResult constructor

const AgentToolResult({
  1. required bool ok,
  2. required List<AgentFact> facts,
  3. String? feedback,
})

Creates a tool result.

Implementation

const AgentToolResult({required this.ok, required this.facts, this.feedback});