# Sandbox.Services.Ai.Chat.MaxToolRounds

```csharp
int MaxToolRounds { get; set; }
```

Maximum batches of tools executed during one Send, including its retries. Defaults to 30.
If the limit is reached, increase it before Retry to continue the pending turn.

Declared in [Sandbox.Services.Ai.Chat](/api/Sandbox.Services.Ai.Chat).
Assembly: `Sandbox.Engine`.
