mirror of https://github.com/kortix-ai/suna.git
1 line
1.3 KiB
JSON
1 line
1.3 KiB
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": "", "tool_calls": [{"id": "call_2721Q6lQZQn9eSTdL154wtNX", "type": "function", "function": {"name": "create_file", "arguments": "{\"file_path\": \"random_file_1.txt\", \"content\": \"Hello, world!\"}"}}, {"id": "call_vI8qeKfnRmOS8kys68yte9Sn", "type": "function", "function": {"name": "create_file", "arguments": "{\"file_path\": \"robotics_explanation.txt\", \"content\": \"Robotics is a branch of engineering and science that involves the design, construction, operation, and use of robots. It combines elements of mechanical engineering, electrical engineering, and computer science to create machines capable of carrying out tasks autonomously or semi-autonomously.\"}"}}]}, {"role": "tool", "tool_call_id": "call_2721Q6lQZQn9eSTdL154wtNX", "name": "create_file", "content": "ToolResult(success=False, output=\"File 'random_file_1.txt' already exists. Use update_file to modify existing files.\")"}, {"role": "tool", "tool_call_id": "call_vI8qeKfnRmOS8kys68yte9Sn", "name": "create_file", "content": "ToolResult(success=False, output=\"File 'robotics_explanation.txt' already exists. Use update_file to modify existing files.\")"}]} |