maxTurns property

int? maxTurns
final

The most turns Claude Code may take, or null for the SDK's default.

Implementation

final int? maxTurns;