mirror of https://github.com/kortix-ai/suna.git
1 line
790 B
JSON
1 line
790 B
JSON
{"messages": [{"role": "user", "content": "Please create a file with a random name with the content 'Hello, world!' Explain what robotics is in a short message to me.."}, {"role": "assistant", "content": "I'll help you create a file with a random name and explain robotics to you.\n\nFirst, let me create a file with \"Hello, world!\" content. I'll give it a random name with a .txt extension:", "tool_calls": [{"id": "toolu_01HZ3tZJb28Jqu6jY5YEuJds", "type": "function", "function": {"name": "create_file", "arguments": "{\"file_path\": \"random_message.txt\", \"content\": \"Hello, world!\"}"}}]}, {"role": "tool", "tool_call_id": "toolu_01HZ3tZJb28Jqu6jY5YEuJds", "name": "create_file", "content": "ToolResult(success=True, output=\"File 'random_message.txt' created successfully.\")"}]} |