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