Autonomous tool execution in advanced AI agents