stopReason property

AcpPatch<StopReason> stopReason
final

Indicates why foreground work stopped.

Optional. Omitted or null both mean the agent is not reporting a stop reason. Agents SHOULD include this when the idle transition ends foreground work.

Implementation

final AcpPatch<StopReason> stopReason;