Skip to content
Prompty

TurnStartPayload

Payload for “turn_start” events — a turn is beginning.

---
title: TurnStartPayload
config:
  look: handDrawn
  theme: colorful
  class:
    hideEmptyMembersBox: true
---
classDiagram
    class TurnStartPayload {
        +string agent
        +dictionary inputs
        +int32 maxIterations
    }
agent: weather-agent
maxIterations: 10
Name Type Description
agent string Name of the loaded prompt/agent, when available
inputs dictionary Input values supplied to the turn after host-side sanitization
maxIterations int32 Configured maximum tool-call iterations