max_attempts
Meaning and placement
retry
Total attempts, counting the first try · integer ≥ 1 · the one required field of aretry: block. Engines honor it strictly and surface the LAST error if every attempt fails (spec/05-errors.md §Retry policy).
In the same object: backoff_max_ms · backoff_ms · backoff_strategy · jitter · on_codes
Schema source (use the pointer above)
In a source template
Excerpt fromtemplates/fanout.nika, source lines 116–125. This is a fragment, not a runnable workflow.
illustration
Templates containing this field
These are literal key occurrences in the source files, not an execution or conformance claim. How to instantiate a template.
Contract and implementation
This page projects the named specification revision. Check released engine status and the validation workflow before running a file. An optional field is not evidence that every engine supports every value. Canonical identity:language:word:max_attempts. Spec revision: 5c40ba456c53.
How documentation stays connected.