PromptResult.stopReason.
Properties
string & object | AgentStopCause
required
Type:
AgentStopCausenull | string
Optional error message (populated when
cause is Error or
QuotaExhausted)."_cognition.ai/agent_stopped"
required
string
required
ACP session ID that owns this stop event.

