> ## 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

Method

> This is a method of the [**IdleTimeoutBreaker**](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/IdleTimeoutBreaker.md) class in the [**errors**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/errors.md) 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

**Returns** `bool`

The result of the operation.

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/errors.py#L60)
>
> `praisonaiagents/errors.py` at line 60


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.