Agent History
Therun() method returns an AgentHistoryList object with the complete execution history:
Structured Output
For structured output, use theoutput_model_schema parameter with a Pydantic model. Example.Control agent output — structured results, step history, action logs, and extracted content from browser automation tasks.
run() method returns an AgentHistoryList object with the complete execution history:
output_model_schema parameter with a Pydantic model. Example.