Returns the entire message history for the specified agent session as an array of message objects.
Copy
[ { "type": "user_message", "content": "Can you launch a computer instance?" }, { "type": "agent_thinking", "content": "The user is asking me to launch a computer instance. I can see that I have a \"computer\" function available that creates a new computer instance for the current user session." }, { "type": "agent_response", "content": "I'll launch a computer instance for you right away." }, { "type": "agent_tool_use", "content": "{\"tool\":\"computer\",\"input\":\"\"}" }, { "type": "agent_response", "content": "Great! I've successfully launched a computer instance for you." }]