Should Dead Letter • AI Agent SDK

should_dead_letter: API reference for AttemptAndAgeDeadLetterPolicy.should_dead_letter

should_dead_letter

Method

</div>

This is a method of the AttemptAndAgeDeadLetterPolicy class in the protocols module.

Signature

python
def should_dead_letter() -> DeadLetterDecision

Returns

ResponseField DeadLetterDecision

The result of the operation.

Uses

  • DeadLetterDecision

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 5541