withActiveTool method

AgentSessionDocumentPatch withActiveTool(
  1. String? value
)

Implementation

AgentSessionDocumentPatch withActiveTool(String? value) {
  return AgentSessionDocumentPatch(
    id: this.id,
    status: this.status,
    messages: this.messages,
    toolCalls: this.toolCalls,
    activeTool: PatchValue.set(value),
    turns: this.turns,
  );
}