withToolCalls method

AgentSessionDocumentPatch withToolCalls(
  1. List<AgentToolCall>? value
)

Implementation

AgentSessionDocumentPatch withToolCalls(List<AgentToolCall>? value) {
  return AgentSessionDocumentPatch(
    id: this.id,
    status: this.status,
    messages: this.messages,
    toolCalls: PatchValue.set(value),
    activeTool: this.activeTool,
    turns: this.turns,
  );
}