class LittleGhost::RunResult

RunResult gives callers one final view of an agent or workflow invocation. It includes the response, usage, updated conversation, state, and any validated structured value.

Use output when the caller should accept either structured or textual agents. It returns the validated structured value when present and text otherwise.