Unique task identifier
Task name (tool name)
Original parameters
Current status
Message history
OptionalpendingCurrent input request (if waiting for input)
Start time
Current attempt number
Maximum attempts allowed
Task options
Agent configuration
OptionalidempotencyIdempotency key for this task, when the tool is mutating. Tracked on state so internal retries reuse the same key (the whole point of the envelope — a re-generated key defeats retry safety).
Internal task state for tracking execution