withToolCalls method
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,
);
}