{
  "appName": "hello_world_ma",
  "events": [
    {
      "author": "user",
      "content": {
        "parts": [
          {
            "text": "hi"
          }
        ],
        "role": "user"
      },
      "id": "e-1",
      "invocationId": "i-1",
      "nodeInfo": {
        "path": ""
      }
    },
    {
      "author": "root_agent",
      "content": {
        "parts": [
          {
            "text": "Hello! How can I help you today?"
          }
        ],
        "role": "model"
      },
      "finishReason": "STOP",
      "id": "e-2",
      "invocationId": "i-1",
      "nodeInfo": {
        "path": "root_agent@1"
      }
    },
    {
      "author": "user",
      "content": {
        "parts": [
          {
            "text": "roll a dice of 10 dies"
          }
        ],
        "role": "user"
      },
      "id": "e-3",
      "invocationId": "i-2",
      "nodeInfo": {
        "path": ""
      }
    },
    {
      "author": "root_agent",
      "content": {
        "parts": [
          {
            "functionCall": {
              "args": {
                "agent_name": "roll_agent"
              },
              "id": "fc-1",
              "name": "transfer_to_agent"
            }
          }
        ],
        "role": "model"
      },
      "finishReason": "STOP",
      "id": "e-4",
      "invocationId": "i-2",
      "longRunningToolIds": [],
      "nodeInfo": {
        "path": "root_agent@1"
      }
    },
    {
      "actions": {
        "transferToAgent": "roll_agent"
      },
      "author": "root_agent",
      "content": {
        "parts": [
          {
            "functionResponse": {
              "id": "fc-1",
              "name": "transfer_to_agent",
              "response": {
                "result": null
              }
            }
          }
        ],
        "role": "user"
      },
      "id": "e-5",
      "invocationId": "i-2",
      "nodeInfo": {
        "path": "root_agent@1"
      }
    },
    {
      "author": "roll_agent",
      "content": {
        "parts": [
          {
            "functionCall": {
              "args": {
                "sides": 10
              },
              "id": "fc-2",
              "name": "roll_die"
            }
          }
        ],
        "role": "model"
      },
      "finishReason": "STOP",
      "id": "e-6",
      "invocationId": "i-2",
      "longRunningToolIds": [],
      "nodeInfo": {
        "path": "root_agent@1/roll_agent@1"
      }
    },
    {
      "author": "roll_agent",
      "content": {
        "parts": [
          {
            "functionResponse": {
              "id": "fc-2",
              "name": "roll_die",
              "response": {
                "result": 2
              }
            }
          }
        ],
        "role": "user"
      },
      "id": "e-7",
      "invocationId": "i-2",
      "nodeInfo": {
        "path": "root_agent@1/roll_agent@1"
      }
    },
    {
      "author": "roll_agent",
      "content": {
        "parts": [
          {
            "text": "You rolled a 2.\n"
          }
        ],
        "role": "model"
      },
      "finishReason": "STOP",
      "id": "e-8",
      "invocationId": "i-2",
      "nodeInfo": {
        "path": "root_agent@1/roll_agent@1"
      }
    },
    {
      "author": "user",
      "content": {
        "parts": [
          {
            "text": "check it"
          }
        ],
        "role": "user"
      },
      "id": "e-9",
      "invocationId": "i-3",
      "nodeInfo": {
        "path": ""
      }
    },
    {
      "author": "roll_agent",
      "content": {
        "parts": [
          {
            "functionCall": {
              "args": {
                "agent_name": "prime_agent"
              },
              "id": "fc-3",
              "name": "transfer_to_agent"
            }
          }
        ],
        "role": "model"
      },
      "finishReason": "STOP",
      "id": "e-10",
      "invocationId": "i-3",
      "longRunningToolIds": [],
      "nodeInfo": {
        "path": "root_agent@1/roll_agent@1"
      }
    },
    {
      "actions": {
        "transferToAgent": "prime_agent"
      },
      "author": "roll_agent",
      "content": {
        "parts": [
          {
            "functionResponse": {
              "id": "fc-3",
              "name": "transfer_to_agent",
              "response": {
                "result": null
              }
            }
          }
        ],
        "role": "user"
      },
      "id": "e-11",
      "invocationId": "i-3",
      "nodeInfo": {
        "path": "root_agent@1/roll_agent@1"
      }
    },
    {
      "author": "prime_agent",
      "content": {
        "parts": [
          {
            "functionCall": {
              "args": {
                "nums": [
                  2
                ]
              },
              "id": "fc-4",
              "name": "check_prime"
            }
          }
        ],
        "role": "model"
      },
      "finishReason": "STOP",
      "id": "e-12",
      "invocationId": "i-3",
      "longRunningToolIds": [],
      "nodeInfo": {
        "path": "root_agent@1/prime_agent@1"
      }
    },
    {
      "author": "prime_agent",
      "content": {
        "parts": [
          {
            "functionResponse": {
              "id": "fc-4",
              "name": "check_prime",
              "response": {
                "result": "2 are prime numbers."
              }
            }
          }
        ],
        "role": "user"
      },
      "id": "e-13",
      "invocationId": "i-3",
      "nodeInfo": {
        "path": "root_agent@1/prime_agent@1"
      }
    },
    {
      "author": "prime_agent",
      "content": {
        "parts": [
          {
            "text": "2 are prime numbers."
          }
        ],
        "role": "model"
      },
      "finishReason": "STOP",
      "id": "e-14",
      "invocationId": "i-3",
      "nodeInfo": {
        "path": "root_agent@1/prime_agent@1"
      }
    }
  ]
}
