{
    "messages": [
        {
            "inner_content": null,
            "ai_model_id": null,
            "metadata": {},
            "content_type": "message",
            "role": "system",
            "name": null,
            "items": [
                {
                    "inner_content": null,
                    "ai_model_id": null,
                    "metadata": {},
                    "content_type": "text",
                    "text": "\nYou are a chat bot who helps users find information.\n",
                    "encoding": null
                }
            ],
            "encoding": null,
            "finish_reason": null
        },
        {
            "inner_content": null,
            "ai_model_id": null,
            "metadata": {},
            "content_type": "message",
            "role": "user",
            "name": null,
            "items": [
                {
                    "inner_content": null,
                    "ai_model_id": null,
                    "metadata": {},
                    "content_type": "text",
                    "text": "Hi there, who are you?",
                    "encoding": null
                }
            ],
            "encoding": null,
            "finish_reason": null
        },
        {
            "inner_content": null,
            "ai_model_id": null,
            "metadata": {},
            "content_type": "message",
            "role": "assistant",
            "name": null,
            "items": [
                {
                    "inner_content": null,
                    "ai_model_id": null,
                    "metadata": {},
                    "content_type": "text",
                    "text": "I am Mosscap, a chat bot. I'm trying to figure out what people need.",
                    "encoding": null
                }
            ],
            "encoding": null,
            "finish_reason": null
        },
        {
            "inner_content": null,
            "ai_model_id": null,
            "metadata": {},
            "content_type": "message",
            "role": "user",
            "name": null,
            "items": [
                {
                    "inner_content": null,
                    "ai_model_id": null,
                    "metadata": {},
                    "content_type": "text",
                    "text": "What is 100+100?",
                    "encoding": null
                }
            ],
            "encoding": null,
            "finish_reason": null
        },
        {
            "inner_content": null,
            "ai_model_id": "gpt-4o-2024-08-06",
            "metadata": {
                "logprobs": null,
                "id": "chatcmpl-ARNrbC0Dvp22X1NWWpLJElkO5w7Rc",
                "created": 1731089951,
                "system_fingerprint": "fp_45cf54deae",
                "usage": {
                    "prompt_tokens": 578,
                    "completion_tokens": 19
                }
            },
            "content_type": "message",
            "role": "assistant",
            "name": null,
            "items": [
                {
                    "inner_content": null,
                    "ai_model_id": null,
                    "metadata": {},
                    "content_type": "function_call",
                    "id": "call_yyf9KcwVZFTnOfsLeERLbJYh",
                    "index": null,
                    "name": "math-Add",
                    "function_name": "Add",
                    "plugin_name": "math",
                    "arguments": "{\"input\":100,\"amount\":100}"
                }
            ],
            "encoding": null,
            "finish_reason": "tool_calls"
        },
        {
            "inner_content": null,
            "ai_model_id": null,
            "metadata": {},
            "content_type": "message",
            "role": "tool",
            "name": null,
            "items": [
                {
                    "inner_content": null,
                    "ai_model_id": null,
                    "metadata": {
                        "arguments": {
                            "user_input": "What is 100+100?",
                            "chat_history": {
                                "messages": [
                                    {
                                        "inner_content": null,
                                        "ai_model_id": null,
                                        "metadata": {},
                                        "content_type": "message",
                                        "role": "system",
                                        "name": null,
                                        "items": [
                                            {
                                                "inner_content": null,
                                                "ai_model_id": null,
                                                "metadata": {},
                                                "content_type": "text",
                                                "text": "\nYou are a chat bot who helps users find information about travel destinations.\n",
                                                "encoding": null
                                            }
                                        ],
                                        "encoding": null,
                                        "finish_reason": null
                                    },
                                    {
                                        "inner_content": null,
                                        "ai_model_id": null,
                                        "metadata": {},
                                        "content_type": "message",
                                        "role": "user",
                                        "name": null,
                                        "items": [
                                            {
                                                "inner_content": null,
                                                "ai_model_id": null,
                                                "metadata": {},
                                                "content_type": "text",
                                                "text": "Hi there, who are you?",
                                                "encoding": null
                                            }
                                        ],
                                        "encoding": null,
                                        "finish_reason": null
                                    },
                                    {
                                        "inner_content": null,
                                        "ai_model_id": null,
                                        "metadata": {},
                                        "content_type": "message",
                                        "role": "assistant",
                                        "name": null,
                                        "items": [
                                            {
                                                "inner_content": null,
                                                "ai_model_id": null,
                                                "metadata": {},
                                                "content_type": "text",
                                                "text": "I am Mosscap, a chat bot. I'm trying to figure out what people need.",
                                                "encoding": null
                                            }
                                        ],
                                        "encoding": null,
                                        "finish_reason": null
                                    }
                                ]
                            },
                            "input": 100,
                            "amount": 100
                        },
                        "used_arguments": {
                            "input": 100,
                            "amount": 100
                        }
                    },
                    "content_type": "function_result",
                    "id": "call_yyf9KcwVZFTnOfsLeERLbJYh",
                    "result": "200",
                    "name": "math-Add",
                    "function_name": "Add",
                    "plugin_name": "math",
                    "encoding": null
                }
            ],
            "encoding": null,
            "finish_reason": null
        }
    ]
}