---
source: crates/core/src/events.rs
expression: data
---
{
  "success": true,
  "text_preview": "Hello world",
  "has_tool_calls": true,
  "tool_call_count": 2,
  "duration_ms": 1000,
  "usage": {
    "input_tokens": 100,
    "output_tokens": 50
  }
}
