{
  "events": [
    {
      "author": "user",
      "content": {
        "parts": [
          {
            "text": "What is the weather in Cupertino?"
          }
        ],
        "role": "user"
      },
      "id": "e-1",
      "invocationId": "i-1",
      "nodeInfo": {
        "path": ""
      }
    },
    {
      "author": "root_agent",
      "content": {
        "parts": [
          {
            "functionCall": {
              "args": {
                "city": "Cupertino"
              },
              "id": "fc-1",
              "name": "weather_agent"
            }
          }
        ],
        "role": "model"
      },
      "finishReason": "STOP",
      "id": "e-2",
      "invocationId": "i-1",
      "longRunningToolIds": [],
      "nodeInfo": {
        "path": "root_agent@1"
      }
    },
    {
      "author": "weather_agent",
      "branch": "weather_agent@fc-1",
      "content": {
        "parts": [
          {
            "text": "{\"temperature\": \"16 C\", \"conditions\": \"Foggy\"}"
          }
        ],
        "role": "model"
      },
      "finishReason": "STOP",
      "id": "e-3",
      "invocationId": "i-1",
      "nodeInfo": {
        "messageAsOutput": true,
        "outputFor": [
          "root_agent@1/weather_agent@1"
        ],
        "path": "root_agent@1/weather_agent@1"
      }
    },
    {
      "author": "root_agent",
      "content": {
        "parts": [
          {
            "functionResponse": {
              "id": "fc-1",
              "name": "weather_agent",
              "response": {
                "conditions": "Foggy",
                "temperature": "16 C"
              }
            }
          }
        ],
        "role": "user"
      },
      "id": "e-4",
      "invocationId": "i-1",
      "nodeInfo": {
        "path": "root_agent@1"
      }
    },
    {
      "author": "root_agent",
      "content": {
        "parts": [
          {
            "text": "The weather in Cupertino is Foggy with a temperature of 16 C.\n"
          }
        ],
        "role": "model"
      },
      "finishReason": "STOP",
      "id": "e-5",
      "invocationId": "i-1",
      "nodeInfo": {
        "path": "root_agent@1"
      }
    }
  ]
}
