getLatestFullPrompt

suspend fun getLatestFullPrompt(): Prompt?

Returns the latest whole-agent conversation trajectory, or null if no LLM call was made.

This is the full prompt (including all LLM responses) captured after the last LLM call in the agent run. Useful for trajectory-based optimizers (ACE, ReasoningBank).