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

# On Retry Input • AI Agent SDK

> OnRetryInput: Input for OnRetry hooks.

# OnRetryInput

> Defined in the [**events**](../modules/events) module.

<Badge color="blue">AI Agent</Badge>

Input for OnRetry hooks.

## Properties

<ResponseField name="retry_count" type="int">
  No description available.
</ResponseField>

<ResponseField name="max_retries" type="int">
  No description available.
</ResponseField>

<ResponseField name="error_message" type="str">
  No description available.
</ResponseField>

<ResponseField name="operation" type="str">
  No description available.
</ResponseField>

<Accordion title="Internal & Generic Methods">
  * **to\_dict**: Generic utility method.
</Accordion>

## Source

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