# Sandbox.Services.Ai.Config.MaxToolRounds

```csharp
int MaxToolRounds { get; set; }
```

Maximum tool batches per turn, including retries. Defaults to 30.

Declared in [Sandbox.Services.Ai.Config](/api/Sandbox.Services.Ai.Config).
Assembly: `Sandbox.Engine`.
