Architecture API
stop_reason
All 5 values of this Anthropic API response field: `end_turn` (natural completion), `max_tokens` (limit hit), `tool_use` (tool call), `max_turns` (loop cap), `stop_sequence` (match).
All 5 values of this Anthropic API response field: `end_turn` (natural completion), `max_tokens` (limit hit), `tool_use` (tool call), `max_turns` (loop cap), `stop_sequence` (match).