OptionaltimeoutTimeout for entire task (ms)
OptionalmaxMaximum clarification rounds before failing
OptionalcontextA2A contextId that binds this call to a server-side conversation.
When set, the client sends it on the A2A Message envelope so the server
can route to the existing session instead of starting a new one.
Retained automatically across calls on the same AgentClient.
OptionaltaskA2A taskId of a non-terminal task to resume (HITL / approval flows).
When set, the client sends it on the A2A Message envelope so the server
continues the same task rather than opening a new one.
OptionaldebugEnable debug logging for this task
OptionalmetadataAdditional metadata to include
OptionaltransportTransport-level safeguards for this call. Overrides the matching field
on the client constructor's transport option. Use to lift or tighten
maxResponseBytes per call when an agent legitimately publishes large
catalogs (e.g., list_creative_formats on a generative seller).
Options for task execution