OptionalAgentThe first moment of the conversation the run may read. When set, the server loads the agent's history from there and skips its summary of earlier messages. Sent only when set, so a server that predates the argument keeps working.
The ID of the agent to run
OptionalAnnouncedAn active agent whose fixed line "Continuing with {agent} for refinement..." the server posts before the
reply, which then threads under it. OnAccepted names the line as AnnouncementDetailId.
OptionalAutoWhether to auto-populate payload from last run
OptionalConfigurationConfiguration ID to use
OptionalCreateWhether to create artifacts from the agent's payload
OptionalCreateWhether to create a user notification on completion
OptionalDataOptional data context passed to the agent
OptionalLastOptional ID of the last agent run for continuity
OptionalMaxMaximum number of history messages to include
OptionalOnCalled once the server accepts the run, before any progress, with the reply row it created: its ID keys the
run's progress and completion, and its creation time starts the reply's timer. Not called when a headless
provider runs the turn synchronously; the result's agentRun.ConversationDetailID names the row then.
OptionalOnOptional callback for progress updates
OptionalPayloadOptional payload passed to the agent
OptionalPlanWhether Plan Mode is requested for this run (requires the agent's SupportsPlanMode capability)
OptionalReplyThe fork the reply and history run on, when the turn forks from UserMessageId (such as Regenerate). Checked by the server to be a branch of the conversation whose path holds UserMessageId.
OptionalReplyThe message the reply threads under, when not the user's message: one of the same conversation.
OptionalRequestedSkill IDs the user requested via /skill-name mentions. Server intersects these with the
agent's accepted skills AND the user's Run permission before any are activated.
OptionalSourceSource artifact ID for versioning
OptionalSourceSource artifact version ID for versioning
The person's message this turn answers, already saved. The server creates the agent's reply row (only the server writes agent replies) and names it to OnAccepted.
Parameters for running an agent from an existing conversation detail. This is the optimized path that loads conversation history server-side.