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

# Should Dead Letter • AI Agent SDK

> should_dead_letter: API reference for AttemptAndAgeDeadLetterPolicy.should_dead_letter

# should\_dead\_letter

Method

> This is a method of the [**AttemptAndAgeDeadLetterPolicy**](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/AttemptAndAgeDeadLetterPolicy.md) class in the [**protocols**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/protocols.md) module.

## Signature

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

### Returns

**Returns** `DeadLetterDecision`

The result of the operation.

## Uses

* `DeadLetterDecision`

## Source

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


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