Iron Gorilla Developers

AgentStepInput

Canonical runtime input object delivered to authored step functions.

SDK v2026.4.0

Kind: interface

Signature

Example
export interface AgentStepInput

Remarks

For object trigger payloads, payload fields are also copied to the top level. For primitive trigger payloads, read the original value from payload.

Properties

  • payload (unknown): Original manual, cron, or webhook payload.
  • trigger (TriggerMetadata): Trigger metadata describing how the run started.
  • steps (Record): Completed step outputs keyed by authored step name.
  • previous (AgentStepPreviousOutput | null): Immediately preceding completed step output, or null for the first step.
  • workflow (AgentStepWorkflowContext): Lightweight workflow metadata.
  • message? (string): Latest chat message content for chat-triggered runs.
  • content? (string): Alias for the latest chat message content for chat-triggered runs.
  • conversation? (AgentChatTranscriptMessage[]): Bounded prior chat messages for chat-triggered runs.
  • transcript? (AgentChatTranscript): Full chat transcript envelope for chat-triggered runs.

On this page