> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Record Idle Timeout • AI Agent SDK

> record_idle_timeout: Returns True when the hard cap is reached.

# record\_idle\_timeout

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**IdleTimeoutBreaker**](../classes/IdleTimeoutBreaker) class in the [**errors**](../modules/errors) module.

Returns True when the hard cap is reached.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def record_idle_timeout() -> bool
```

### Returns

<ResponseField name="Returns" type="bool">
  The result of the operation.
</ResponseField>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/errors.py#L60">
  `praisonaiagents/errors.py` at line 60
</Card>
