{
  "events": [
    {
      "author": "user",
      "content": {
        "parts": [
          {
            "text": "weather in Sunnyvale"
          }
        ],
        "role": "user"
      },
      "id": "e-1",
      "invocationId": "i-1",
      "nodeInfo": {
        "path": ""
      }
    },
    {
      "author": "callback_demo_agent",
      "content": {
        "parts": [
          {
            "functionCall": {
              "args": {
                "city": "Sunnyvale"
              },
              "id": "fc-1",
              "name": "get_weather"
            }
          },
          {
            "text": "\n\nafter_model_callback: [Token Usage: Input=23, Output=6]"
          }
        ],
        "role": "model"
      },
      "finishReason": "STOP",
      "id": "e-2",
      "invocationId": "i-1",
      "longRunningToolIds": [],
      "nodeInfo": {
        "path": "callback_demo_agent@1"
      }
    },
    {
      "author": "callback_demo_agent",
      "content": {
        "parts": [
          {
            "functionResponse": {
              "id": "fc-1",
              "name": "get_weather",
              "response": {
                "result": "The weather in Sunnyvale is sunny."
              }
            }
          }
        ],
        "role": "user"
      },
      "id": "e-3",
      "invocationId": "i-1",
      "nodeInfo": {
        "path": "callback_demo_agent@1"
      }
    },
    {
      "author": "callback_demo_agent",
      "content": {
        "parts": [
          {
            "text": "The weather in Sunnyvale is sunny."
          },
          {
            "text": "\n\nafter_model_callback: [Token Usage: Input=108, Output=8]"
          }
        ],
        "role": "model"
      },
      "finishReason": "STOP",
      "id": "e-4",
      "invocationId": "i-1",
      "nodeInfo": {
        "path": "callback_demo_agent@1"
      }
    }
  ]
}
