{
  "events": [
    {
      "author": "user",
      "content": {
        "parts": [
          {
            "text": "export to csv"
          }
        ],
        "role": "user"
      },
      "id": "e-1",
      "invocationId": "i-1",
      "nodeInfo": {
        "path": ""
      }
    },
    {
      "author": "long_running_functions",
      "content": {
        "parts": [
          {
            "functionCall": {
              "args": {
                "export_type": "csv"
              },
              "id": "fc-1",
              "name": "export_data"
            }
          }
        ],
        "role": "model"
      },
      "finishReason": "STOP",
      "id": "e-2",
      "invocationId": "i-1",
      "longRunningToolIds": [
        "fc-1"
      ],
      "nodeInfo": {
        "path": "long_running_functions@1"
      }
    },
    {
      "author": "long_running_functions",
      "content": {
        "parts": [
          {
            "functionResponse": {
              "id": "fc-1",
              "name": "export_data",
              "response": {
                "message": "Exporting csv data. This may take some time.",
                "progress": "0%",
                "status": "in-progress"
              }
            }
          }
        ],
        "role": "user"
      },
      "id": "e-3",
      "invocationId": "i-1",
      "nodeInfo": {
        "path": "long_running_functions@1"
      }
    },
    {
      "author": "long_running_functions",
      "content": {
        "parts": [
          {
            "text": "I'm exporting your data to CSV. This may take some time. I will let you know when it's done."
          }
        ],
        "role": "model"
      },
      "finishReason": "STOP",
      "id": "e-4",
      "invocationId": "i-1",
      "nodeInfo": {
        "path": "long_running_functions@1"
      }
    },
    {
      "author": "user",
      "content": {
        "parts": [
          {
            "functionResponse": {
              "id": "fc-1",
              "name": "export_data",
              "response": {
                "progress": "50%",
                "status": "in-progress"
              }
            }
          }
        ],
        "role": "user"
      },
      "id": "e-5",
      "invocationId": "i-1",
      "nodeInfo": {
        "path": ""
      }
    },
    {
      "author": "long_running_functions",
      "content": {
        "parts": [
          {
            "text": "Your data is 50% exported. The export is still in progress."
          }
        ],
        "role": "model"
      },
      "finishReason": "STOP",
      "id": "e-6",
      "invocationId": "i-1",
      "nodeInfo": {
        "path": "long_running_functions@1"
      }
    }
  ]
}
